How do you do your VFS?
Posted: Tue Mar 10, 2015 12:58 pm
I was trying to figure out how to make multiple filesystems fold into one as I'm now making the generic register-filesystem logic (and register-device logic). I got to wondering, how do you figure out what goes where...
Windows puts every partition into its own drive letter and does not have anything more complicated than that (* other than winNT which has mount points, that nobody knows about).
Linux and related systems have a root FS and mount stuff into it according to some file on the root filesystem.
I don't like either. Windows is very arbitrary and unintuitive - is F: my cdrom drive, my network drive, a USB stick or half of an SD card? Linux on the other hand is unfriendly to auto-mounting which is one of my design desires, where most distros automount things into /media or /mnt. I don't know of any other designs right now, but can't think of many other logical ones.
What does your VFS look like? Why do you think that's a good design, and what things do you want in a VFS?
Windows puts every partition into its own drive letter and does not have anything more complicated than that (* other than winNT which has mount points, that nobody knows about).
Linux and related systems have a root FS and mount stuff into it according to some file on the root filesystem.
I don't like either. Windows is very arbitrary and unintuitive - is F: my cdrom drive, my network drive, a USB stick or half of an SD card? Linux on the other hand is unfriendly to auto-mounting which is one of my design desires, where most distros automount things into /media or /mnt. I don't know of any other designs right now, but can't think of many other logical ones.
What does your VFS look like? Why do you think that's a good design, and what things do you want in a VFS?