Creating Linux virtual filesystems
Posted Oct 22, 2002 22:13 UTC (Tue) by gregkh
In reply to: Creating Linux virtual filesystems
Parent article: Creating Linux virtual filesystems
Ah, missed the kill_litter_super() reference, nice.
But does this mean that if you unmount the fs, and then mount it again, the "counter" file is created from scratch, with a initialized value?
If so, this might not be what you want for a fs that is tied to a driver. You might want to keep around the files between mounts, and not be forced to regenerate them all every mount time. This can be seen in usbfs where the files are created when a device is added or removed from the system. We don't walk all devices at mount time, although that might not be a bad idea...
Anyway, this is a minor point, very nice article, it matches my upcoming linux.conf.au talk and paper quite well :)
Oh, and for doing something like this for the 2.4 kernel, this article might help out a bit.
to post comments)