On Mon, Mar 25, 2002 at 12:00:10PM +0000, Brian Foster wrote:
> AFAIK, this is correct. I myself have doubts it ever will be
> possible, as there may be some hairy issues to resolve --- but
> I long ago stopped trying to guess what new "madness" ;-)
> Linux kernel developers would try ....
*bsd systems have had this for years. it's called a union mount.
man mount_union. in addition there's a union option to mount.
> some of the problems include, but may not be limited to:
>> ( we want to, in effect, merge the namespaces of "directory"
> FULL and "directory" ROOM, nominally on different FS/volumes. )
>> 1. both dirs contain a file called A. what happens?
the one on top is seen.
> 2. where are new files which are created written (i.e., which FS)?
on the top directory.
> 3. naïvely, the st_dev --- see stat(2) --- will differ from file
> to file as the merged directory is scanned. albeit this can
> happen anyways (mount points), it's often(?) not handled too
> well by programs which care.
not sure. i'll play later and see.
the example from the man page is this:
mount -t cd9660 -o ro /dev/cd0a /usr/src
mount -t union /var/obj /usr/src
all changes in /usr/src end up in /var/obj.
kevin at suberic.net buffy: come on, can't you put your foot down?!
fork()'ed on 37058400 giles: it *is* down.
meatspace place: orbit buffy: one of these days you're going to have to
http://suberic.net/~kevin get a grown up car. --inca mummy girl
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!