Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
3521 5701 d 9 h jermar /trunk/uspace/ Move libfs_blockread(), block_get() and block_put() to libblock.  
/trunk/uspace/lib/libblock
/trunk/uspace/lib/libblock/Makefile
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/Makefile
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/Makefile
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/Makefile
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3519 5701 d 11 h jermar /trunk/uspace/srv/fs/fat/ Implementation of fat_node_sync().  
/trunk/uspace/srv/fs/fat/fat_ops.c
3516 5701 d 13 h jermar /trunk/uspace/srv/fs/fat/ Pass the buffer holding the boot sector to the internal functions so that it
doesn't have to be block_get()'ed in each function. The idea is that the boot
block should be read by the top-level functions in fat_ops.c and passed down the
call chain.
 
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3513 5702 d 6 h jermar /trunk/uspace/srv/fs/fat/ Implementation of fat_append_clusters().  
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3506 5702 d 12 h jermar /trunk/uspace/srv/fs/fat/ Move functionality related to manipulatings file allocation tables to fat_fat.c.  
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3505 5702 d 13 h jermar /trunk/uspace/srv/fs/fat/ Move functionality related to FAT dentries to fat_dentry.c.  
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3503 5702 d 14 h jermar /trunk/uspace/srv/fs/fat/ Implementation of fat_alloc_clusters().  
/trunk/uspace/srv/fs/fat/fat_ops.c
3501 5703 d 6 h jermar /trunk/uspace/srv/fs/fat/ Implementation of fat_fill_gap().  
/trunk/uspace/srv/fs/fat/fat_ops.c
3500 5703 d 8 h jermar /trunk/uspace/srv/fs/fat/ More complete prototype of fat_write().  
/trunk/uspace/srv/fs/fat/fat_ops.c
3499 5703 d 11 h jermar /trunk/uspace/srv/fs/fat/ Mark progress in fat_write().  
/trunk/uspace/srv/fs/fat/fat_ops.c
3497 5703 d 15 h jermar /trunk/uspace/srv/fs/fat/ Dummy fat_write().  
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3352 5767 d 6 h jermar /trunk/uspace/srv/ Add reference to the mounted FS root.

This makes it possible to keep the FS root logically unlinked (i.e. lnkcnt == 0)
because it prevents VFS from attempting to destroy it during closedir().
 
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs_ops.c
3335 5771 d 5 h jermar /trunk/uspace/srv/fs/fat/ Support for readdir() on FAT.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3325 5774 d 6 h jermar /trunk/uspace/srv/fs/fat/ Determine the size of a directory node by walking the FAT and counting clusters.
This eliminates the hardcoded limit on the number of directory entries.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
3314 5775 d 7 h jermar /trunk/uspace/srv/fs/fat/ fat_read() should expect IPC_M_DATA_READ instead of IPC_M_DATA_WRITE.  
/trunk/uspace/srv/fs/fat/fat_ops.c
3312 5775 d 7 h jermar /trunk/uspace/srv/fs/fat/ When removing a FAT node from the ffn list, use the correct pointer instead of
an uninitialized one.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
3308 5777 d 5 h jermar /trunk/uspace/srv/fs/fat/ More complete fat_read().  
/trunk/uspace/srv/fs/fat/fat_ops.c
3307 5777 d 7 h jermar /trunk/uspace/srv/fs/fat/ Dummy implementation of fat_read().  
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3282 5779 d 3 h jermar /trunk/uspace/srv/fs/fat/ FAT dentry type used for subdirectories doesn't store the directory size in the 'size' field.
Introduce a simple workaround that will let us have 64 directory entries at maximum.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
3272 5779 d 17 h jermar /trunk/uspace/srv/fs/fat/ Several fixes for the FAT file system:
- do not copy padding during file name canonization
- properly nul-terminate the FAT file name during canonization
- compare FAT file name and the component name case insensitively
- block_get() takes a block offset, not byte offset as parameter
 
/trunk/uspace/srv/fs/fat/fat_ops.c

Show All