Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4585 5620 d 0 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 5640 d 5 h decky /trunk/uspace/ rename libadt -> adt  
4465 5645 d 0 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 5669 d 21 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 5673 d 21 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 5690 d 22 h jermar /trunk/uspace/srv/fs/tmpfs/ Support multiple TMPFS instances.  
3247 5946 d 0 h jermar /trunk/uspace/srv/fs/tmpfs/ Avoid magic numbers in tmpfs_dump.c.  
3109 6007 d 3 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 6007 d 20 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 6025 d 21 h jermar /trunk/uspace/srv/ Make VFS_MOUNT call even when mounting the root file system.  
2770 6093 d 22 h jermar /trunk/uspace/ Introduce fs_handle_t, dev_handle_t and fs_index_t.  
2760 6098 d 20 h jermar /trunk/uspace/ Support for multiple TMPFS node names.  
2758 6099 d 21 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 6099 d 23 h jermar /trunk/uspace/srv/fs/tmpfs/ Introduce real link counts for TMPFS.  
2742 6108 d 20 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 6117 d 5 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 6152 d 5 h jermar /trunk/uspace/ Add ftruncate() and support for VFS_TRUNCATE to VFS and TMPFS.  
2666 6170 d 23 h jermar /trunk/uspace/srv/ VFS and TMPFS support for VFS_WRITE.  
2658 6173 d 20 h jermar /trunk/uspace/srv/ VFS work.
Foundation for TMPFS-side VFS_READ and fixes in VFS-side VFS_READ.
 
2655 6177 d 2 h jermar /trunk/uspace/srv/fs/tmpfs/ TMPFS work.
VFS_LOOKUP implemented.
 

Show All