Re: Bug report: umounting a binded mount

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

 



On Fri, Sep 25, 2009 at 12:06:26AM +0200, Pavel Říha wrote:
> How to reproduce:
>
> mount /dev/sda1 sda1
> mount --bind sda1 test
> umount -n test      (-n = without writing to mtab)
> umount test

util-linux-ng-2.15.1-1.fc12.x86_64 :

# mkdir foo test
# mount /dev/sda6 foo
# mount --bind foo test
# umount -n test
# umount test
umount: /root/test: not mounted

# grep test /etc/mtab
# grep sda6 /etc/mtab
/dev/sda6 /root/foo ext4 rw 0 0

> tested on some versions util-linux <=2.14.2 (lates stable on Gentoo)
> on i386

 the latest upstream stable version is 2.16.1

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" 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