Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4585 5431 d 9 h jermar /trunk/uspace/ Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and devfs_stat().
This functionality replaces VFS_IN_NODE
and VFS_IN/OUT_DEVICE. FAT and TMPFS
still do not implement this and VFS_IN_STAT
and stat() need implementation as well.
 
4509 5451 d 14 h decky /trunk/uspace/ rename libadt -> adt  
4465 5456 d 9 h decky /trunk/uspace/srv/fs/ implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned)
implement no-op VFS_SYNC and VFS_CLOSE
 
4370 5481 d 6 h jermar /trunk/uspace/ Streamline TMPFS and fix its design so that it properly supports hardlinks.
libfs operation unlink() is now passed also the name of the component being
unlinked.
 
4357 5485 d 5 h jermar /trunk/uspace/ Introduce the concept of FS nodes. A FS node is a typed abstraction of
file-system-specific node type. It replaces the void * in libfs interfaces
and is suitable for holding various information such as mount point data.
 
4306 5502 d 7 h jermar /trunk/uspace/srv/fs/tmpfs/ Support multiple TMPFS instances.  
3247 5757 d 9 h jermar /trunk/uspace/srv/fs/tmpfs/ Avoid magic numbers in tmpfs_dump.c.  
3109 5818 d 12 h jermar /trunk/uspace/srv/ Split the 'mount another filesystem here' and 'you are being mounted and the
device is this' mount semantics. Add VFS_MOUNTED VFS operation that corresponds
to the latter and reserve VFS_MOUNT only for the former. Because of this
change, the VFS server does not maintain the mr_node VFS node for the name space
root anymore and the VFS_LOOKUP operation is now not meant to be used on
unmounted file system, not even for looking up the root node of unmounted file
systems. In the light of these changes, TMPFS is now initialized from
tmpfs_mounted() function.
 
3103 5819 d 5 h jermar /trunk/uspace/srv/fs/tmpfs/ Evict the code which loads the TMPFS file system from a file system dump to a
dedicated source file.
 
2958 5837 d 6 h jermar /trunk/uspace/srv/ Make VFS_MOUNT call even when mounting the root file system.  
2770 5905 d 7 h jermar /trunk/uspace/ Introduce fs_handle_t, dev_handle_t and fs_index_t.  
2760 5910 d 5 h jermar /trunk/uspace/ Support for multiple TMPFS node names.  
2758 5911 d 5 h jermar /trunk/uspace/ No need to keep the parent pointer in the TMPFS node. Moreover, other file
systems won't have it either. Finally, if TMPFS is to support hardlinks, there
can be multiple parents.
 
2756 5911 d 8 h jermar /trunk/uspace/srv/fs/tmpfs/ Introduce real link counts for TMPFS.  
2742 5920 d 5 h jermar /trunk/uspace/srv/ Separate creation of a TMPFS node and its linking in the file system name space.
Rename VFS_FREE to VFS_DESTROY and destroy_node() to unlink_node().
 
2731 5928 d 14 h jermar /trunk/uspace/srv/ Add the VFS_FREE operation. This operation frees up whatever resources used by
a file system node for which there is no name (i.e. an unlinked node).

Cleanup VFS operations enums and remove unneeded VFS operations.
 
2693 5963 d 14 h jermar /trunk/uspace/ Add ftruncate() and support for VFS_TRUNCATE to VFS and TMPFS.  
2666 5982 d 8 h jermar /trunk/uspace/srv/ VFS and TMPFS support for VFS_WRITE.  
2658 5985 d 5 h jermar /trunk/uspace/srv/ VFS work.
Foundation for TMPFS-side VFS_READ and fixes in VFS-side VFS_READ.
 
2655 5988 d 11 h jermar /trunk/uspace/srv/fs/tmpfs/ TMPFS work.
VFS_LOOKUP implemented.
 

Show All