DazukoFS (was Re: Device file events)
"Abhishek Nayani" <[email protected]>
| Newsgroups | gmane.linux.dazuko.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, >>> On Wed, Sep 14, 2005 at 12:59 pm, John Ogness <[email protected]> wrote: > Yes, "/" is an issue. However, I do not expect DazukoFS to be mounted once > and automatically cover all other mounts. DazukoFS would be mounted over > every exising mountpoint. For example, I would expect entries in /etc/fstab > that look like this: > > /dev/hda2 /home dazukofs subtype=ext3,subopts=defaults 0 2 > > In other words, filesystems would actually be mounted by DazukoFS- mount so > that DazukoFS can be sure that it is "on top". > "/" is a special case and it has not yet been decided how this can be > effectively implemented. I guess the sequence will be bottom to top. Like: mount / -> mount dazukoFS on / -> mount /home -> mount dazukoFS on /home This can work even for /proc and /sys etc. The only issue would be with removable media for which there are no fstab entries. Most of the newer distributions are using hotplug to mount USB flash drives and other external storage media. One way would be to either monitor /etc/mtab || /proc/mounts to know of a mount event and then mount dazukoFS on it or to wrap the mount command itself. Both look messy to me. Any solutions ? Regards, Abhi.