On Tue, Apr 12, 2011 at 11:41:23PM -0400, Phillip Susi wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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. 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. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- 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