]> git.ipfire.org Git - thirdparty/util-linux.git/commit
umount: use devno to identify --all-target devices
authorKarel Zak <kzak@redhat.com>
Tue, 23 Apr 2013 08:25:02 +0000 (10:25 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 23 Apr 2013 08:25:02 +0000 (10:25 +0200)
commitf697d61b6efbcca777221de7f391307712cfba4e
treeb3ad8016c91af5baf09cd1c4131b58ddb3438610
parentc0d14b09856365a5193e65aaee58ba82e03eaed1
umount: use devno to identify --all-target devices

 # mount -t tmpfs tmp /mnt/A
 # mount --bind /mnt/A /mnt/B
 # mount -t tmpfs tmp /mnt/C

the command:

  umount --all-targets /mnt/A

has to umount only A and B, but not C. The C is a another filesystem.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/umount.c