Re: [RFC] union-mount stuff

From: Werner Almesberger (almesber@lrc.epfl.ch)
Date: Thu Jun 08 2000 - 01:40:42 EST


Alexander Viro wrote:
> Umm... So you want demon running with both root and cwd at new root,
> right?

Yep. If cd /mnt accesses the / FS instead of the /mnt FS, this will
still keep the old / busy.

Of course, if you plan to replace the whole pivot_root idea with
union mounts, things would look different. Not sure if this would
be feasible, though. Assume I have:

/dev/A:/
/dev/A:/foo/
/dev/A:/foo/bar/
/dev/B:/
/dev/B:/foo/
/dev/B:/foo/xyzzy/

If I union-mount /dev/A and /dev/B on /union, can I then
cd /union/foo/bar
cd /union/foo/xyzzy
?

Cheers, Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:17 EST