Re: can not umount rbind mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/13/2011 3:16 AM, Karel Zak wrote:
>  The recursive umount is not implemented, I'd like to add this feature
>  after [u]mount(8) rewrite to libmount.
> 
>  Note that nowhere (especially on systems without regular mtab) is
>  stored information that the tree was created by recursive bind
>  mounts. It will be necessary to call umount with a --recursive
>  command line option.

I was wondering about that.  Perhaps the kernel needs patched to alias
rbind to bind internally so that mount can pass rbind instead of bind
and have it be remembered in /proc/mounts?  Then umount can assume it
should recursively unmount any bind mounts.
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux