Messages in this thread | | | Date | Sun, 2 May 2004 19:58:46 +0200 (CEST) | From | Guennadi Liakhovetski <> | Subject | Re: [RFC] Filesystem with multiple mount-points |
| |
On Sun, 2 May 2004 viro@parcelfarce.linux.theplanet.co.uk wrote:
> <shrug> > > mount <whatever> /tmp/blah > mount --bind /tmp/blah/relative_path /desired_mountpoint > umount -l /tmp/blah
Wow! I, actually, thought about it, but I didn't expect it to work right now, I would expect the umount to fail with EBUSY... But it does work! Guys, it rocks! The only slight inconvenience - mount still shows
/tmp/blah/relative_path /desired_mountpoint (bind)
which is not necessarily informative. A better display would be, perhaps
<whatever>:relative_path /desired_mountpoint (bind)
in /proc/mounts also not quite true:
<whatever> /desired_mountpoint
One might want to improve those...
Thanks Guennadi --- Guennadi Liakhovetski
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |