lkml.org 
[lkml]   [2004]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.031 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site