|
|
@5ab597d
|
17 years |
jakub |
Add reference to the mounted FS root.
This makes it possible to keep …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddd1219
|
17 years |
jakub |
Support for readdir() on FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2115311
|
17 years |
jakub |
Determine the size of a directory node by walking the FAT and counting …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@874a0e8
|
17 years |
jakub |
Make sure that the loader keeps on read()ing until it read()s all it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6808614
|
17 years |
jakub |
fat_read() should expect IPC_M_DATA_READ instead of IPC_M_DATA_WRITE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c06dbf9
|
17 years |
jakub |
When removing a FAT node from the ffn list, use the correct pointer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79d031b
|
17 years |
jakub |
More complete fat_read().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4bf40f6
|
17 years |
jakub |
Dummy implementation of fat_read().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ab1023
|
17 years |
jakub |
FAT dentry type used for subdirectories doesn't store the directory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2e9c47
|
17 years |
jakub |
Several fixes for the FAT file system:
- do not copy padding during …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a35204a
|
17 years |
jakub |
First attempt at delivering the FAT16 read-only support.
Needless to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12fc042
|
17 years |
jakub |
Fix the VFS protocol so that the client can determine that VFS_MOUNT …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c544c5d
|
17 years |
jakub |
Stop using fixed size BLOCK_SIZE in the ramdisk task and allow each …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a61d1fc3
|
17 years |
jakub |
Pass block size to block_get() in the last argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61bc901
|
17 years |
jakub |
Add a comment to libfs_blockread() and change type from size_t to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2c1fd5
|
17 years |
jakub |
Move tmpfs_blockread() to libfs and rename it to libfs_blockread(). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f429c0
|
17 years |
jakub |
Let tmpfs_blockread() use async_req_2_1() instead of ipc_call_sync_2_1().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ade06b4
|
17 years |
jakub |
Avoid magic numbers in tmpfs_dump.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94fa807d
|
17 years |
martin |
clear screen not until successful connection from console
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@113c677
|
17 years |
martin |
reintroduce support for MSIM text console in user space
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f93f168
|
17 years |
jirik.svoboda |
Some Cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c98e6ee
|
17 years |
jirik.svoboda |
Merge program-loader related stuff from dynload branch to trunk. (huge)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7f9087
|
17 years |
jakub |
Instead of aborting or crashing, return EBADF when an invalid file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@515a0102
|
17 years |
jirik.svoboda |
Do not disassemble needlessly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@689f036
|
17 years |
jakub |
Initialize in-core FAT root directory node during mount.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7b6753
|
17 years |
jakub |
Put a frequently used construct into a function.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cde485d
|
17 years |
jakub |
Initialize global FAT IDX structures when the FAT server starts and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f49b0ea
|
17 years |
jakub |
Split the 'mount another filesystem here' and 'you are being mounted …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40257f5
|
17 years |
jakub |
Evict the code which loads the TMPFS file system from a file system …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f880ee8
|
17 years |
jakub |
Return value argument to ipc_call_sync_X_Y() may not be int or it will …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4b4b47
|
17 years |
martin |
initialize tmpfs from RAM disk
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@536ec42
|
17 years |
martin |
disable kernel console output for now
(this breaks some archs)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f65fb0
|
17 years |
martin |
devmap support, small fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@271b540
|
17 years |
martin |
service banner
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e623197
|
17 years |
martin |
service banner
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e00938c
|
17 years |
martin |
service banner
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd80465
|
17 years |
martin |
remove entry_driver entry points
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@21c5d41
|
17 years |
martin |
remove extensive debugging output
remove private devmap.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c89f20
|
17 years |
martin |
disable extensive debugging output
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@afb1e35
|
17 years |
martin |
cleanup scripts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64b67c3
|
17 years |
jakub |
Make VFS_MOUNT call even when mounting the root file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce7311fc
|
17 years |
jakub |
Cram VFS_MOUNT into one message. This creates a hidden demand for the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e811bde
|
17 years |
jakub |
Add synchronization to fat_match().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@add5835
|
17 years |
jakub |
Add locks to FAT index structures, FAT in-core node structures. Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78a1b7b
|
17 years |
jakub |
Introduce a futex protecting the up_hash and ui_hash.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4452366
|
17 years |
jakub |
Introduce futex for protecting the list of unused structures in FAT server.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34b3ce3
|
17 years |
jakub |
Implement fat_node_put() and remove the node from the free node list …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c4bbcde
|
17 years |
jakub |
More bits of fat_node_get().
Still needs to do some locking.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4573a79
|
17 years |
jakub |
New first bits of fat_node_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4797132
|
17 years |
jakub |
Need a way to locate the FAT index structure by VFS index. Also fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a5ccfb3
|
17 years |
jakub |
Add hash table for used fat_idx_t structures and implement fat_idx_map().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c1ad7ac
|
17 years |
jakub |
merge vs. coalesce
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a324099
|
17 years |
jakub |
Code for de/allocation of VFS indices for FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@297f1197
|
17 years |
jakub |
Add a dedicated source file for handling FAT indices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@869e546
|
17 years |
jakub |
Introduce the foundation for unique and stable FAT VFS node indices.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34f62f8
|
17 years |
jakub |
Revert libfs node_get() API to a model without the parent node pointer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a5f0cb
|
17 years |
jakub |
Add fat_block_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45f244b
|
17 years |
jakub |
libfs destroy operation should rather return an error code instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80e8482
|
17 years |
jakub |
Add stubs for unimplemented FAT libfs operations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9e9caf
|
17 years |
jakub |
Add a locking scheme for FAT in-core cache and nodes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e13d1feb
|
17 years |
jakub |
fat_node_put(). No locking so far.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@06901c6b
|
17 years |
jakub |
Add node_put() to libfs operations and instrument libfs_lookup() to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32fb10ed
|
17 years |
jakub |
Add fat_has_children(). Alse assume that fat_block_get() can never …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74ea3c6
|
17 years |
jakub |
Add fat_root_get() and fat_plb_get_char().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e22632a9
|
17 years |
jakub |
Somewhat complete implementation of fat_node_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e1e3b26
|
17 years |
jakub |
Commit progress on the FAT file system server implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5446bee0
|
17 years |
jakub |
BPS read from FAT bootsector is little-endian. It must converted to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79dbc3e
|
17 years |
jakub |
Introduce and also use the foundation of block cache API in FAT's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f689a3e
|
17 years |
jakub |
Update comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@776f2e6
|
17 years |
jakub |
Replace all endian.h in uspace with a copy of the kernel's respective …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfa7bac
|
17 years |
jakub |
Convert FAT on-disk metadata from little-endian to native representation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a2aa1dec
|
17 years |
jakub |
First untested bits of FAT lookup support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94b0b63
|
17 years |
jakub |
libfs' node_get() operation does not need the file system handle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@736c164
|
17 years |
jakub |
Make libfs_lookup() more generic.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e790e6
|
17 years |
jakub |
Fix FAT boot sector definition and introduce the FAT in-core node type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f60a529
|
17 years |
jakub |
Return EBUSY if trying to mount something over an already mounted root …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2ec8c8
|
17 years |
jakub |
Introduce fs_handle_t, dev_handle_t and fs_index_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ad8e49
|
17 years |
jakub |
VFS index needs to be treated as uint64_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@07deef5
|
17 years |
jakub |
Fibril serialization is required when two file systems register …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c31d773
|
17 years |
jakub |
Grab the nodes_futex when manipulating node link counts in rename() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a8e9ab8d
|
17 years |
jakub |
Support for rename().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3298ddc
|
17 years |
jakub |
Support for multiple TMPFS node names.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b6d98b
|
17 years |
jakub |
No need to keep the parent pointer in the TMPFS node. Moreover, other …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ca7059
|
17 years |
jakub |
Set the TMPFS root node's link count to 1.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adc8a63
|
17 years |
jakub |
Introduce real link counts for TMPFS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dadcec1
|
17 years |
jakub |
Move canonify() to libc so that it can be used also on the libc side.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6084ef
|
17 years |
jakub |
Make VFS canonify path names on lookup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9bb85f3
|
17 years |
jakub |
Add canonify() for file system path canonization.
Not yet used by VFS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee68e4bc
|
17 years |
jakub |
contents_rwlock should not be acquired as a futex but rather as a rwlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7fe1f75
|
17 years |
jakub |
Support for O_TRUNC.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c448fb
|
17 years |
jakub |
Move the core lookup logic from TMPFS to libfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdb7795
|
17 years |
jakub |
Separate creation of a TMPFS node and its linking in the file system …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1ce550
|
18 years |
jakub |
Initialize the VFS node properly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75c426b4
|
18 years |
jakub |
Remove duplicate initialization.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf19ab5
|
18 years |
jakub |
Unlink a TMPFS node more thoroughly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f15cf1a6
|
18 years |
jakub |
Support for rmdir(), unlink() and the respective VFS operations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e704503
|
18 years |
jakub |
Support for close().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@16105cba
|
18 years |
jakub |
Add TMPFS support for destroying leaf links in the file system namespace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2616965d
|
18 years |
jakub |
When freeing up a TMPFS node, it should also be removed from the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f17667a
|
18 years |
jakub |
Add the VFS_FREE operation. This operation frees up whatever …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|