'umount' after 'mount --rbind'

Sabniveesu Shashank shashank at linux.com
Sun May 18 16:40:31 UTC 2014


Hi!

I am setting up a chroot-jail. In the process, I do a:

> sudo mount --rbind /sys sys/
>

While exiting, if I'm issuing a 'umount', I get errors like 'device or
resource busy' etc.

I tried suggestions at

   -
   http://www.unixli.com/q/answers-recursive-umount-after-rbind-mount-120827.html
   -
   http://www.commandlinefu.com/commands/view/8468/umount-rbind-mount-with-submounts
   -
   http://unix.stackexchange.com/questions/120827/recursive-umount-after-rbind-mount

but none are unmounting 'sys' successfully.


Please let me know how ypu would handle such umounts (after 'rbind').

 <http://about.me/shashank.computers>


S.V.R.S.N. Shashank
about.me/shashank.computers
    <http://about.me/shashank.computers>

We’ve created the greatest collection of shared knowledge in history. Help
protect Wikipedia. Donate now: https://donate.wikimedia.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140518/469dfa48/attachment.html>


More information about the ubuntu-users mailing list