unlink (inode_operations)
A message that is not in the archive (sent off-list or not yet received): 000401c3437e$5d3dd720$01000001@southernstar
Hello james.
Quoted 1 line
What does the nullfs do?Do you know in general how filesystems work
nullfs ( originally implemented for linux by "Progeny Linux Systems" ) works like a stackable file system, ie. it makes use of a _lower_ file system to do its house_keeping chores... like on_disk data etc. For each file/dentry/inode on the _upper_ file system, it links in the _lower_ file/dentry/inode respectively. For example, if u open a file on the upper f/s, a file will also be opened on the lower f/s, and linked in to the upper one via the file->private_data pointer .
Now, all vfs operations on the upper f/s, gets propagated to the lower f/s.
Quoted 3 lines
on Linux - when the data comes off the disk (or from wherever) does it go through the filesystem code where it is mapped into kernel pages, so the kernel can then give the data to system calls?
I mainly coded stackable like file systems till now, so i may be wrong:
( in a nutshell.. )the file system is responsible to __locate__ the data, not retrieve it.
Another layer is responsible for the actual fetching of data from the block device.
Quoted 2 lines
Where is the point in filesystem code where data travels through the fs code from the disk to the kernel, and vice versa?
Mainly in the f_op->read/write . These are the callbacks for the vfs to perform reading/writing fro the filesystem.
hope i was helpful.....
========================================================================
nir.