Re: can not umount rbind mounts

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

 



On Tuesday, April 12, 2011 23:41:23 Phillip Susi wrote:
> mkdir /mnt/dev
> mount --rbind /dev /mnt/dev
> umount /mnt/dev
> 
> The umount fails because of the sub mounts that the recursive bind also
> bind mounted under /mnt/dev, which you have to remove manually first.
> When you mount with --rbind, umount should be able to reverse the
> process, unmounting all recursively bound mounts.

yes and no ... i dont think the fact you used "--rbind" is tracked anywhere.  
sounds like you want `umount --rbind`.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[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