Re: mount remount regression with loop and real /etc/mtab

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

 



On Wed, Sep 26, 2012 at 08:25:21AM +0200, g.esp@xxxxxxx wrote:
> The case that fail with /etc/mtab as real file
> [chroot-i486] root:/tmp$ rm -f /etc/mtab && echo -n >/etc/mtab
> [chroot-i486] root:/tmp$ mount -oloop /tmp/blob /tmp/mnt
> [chroot-i486] root:/tmp$ mount -o remount,loop,ro /tmp/mnt
> [chroot-i486] root:/tmp$ mount
> /dev/loop0 on /tmp/mnt type ext2 (ro,loop)
> [chroot-i486] root:/tmp$ losetup -a
> /dev/loop0: [2051]:306957 (/tmp/blob)
> /dev/loop1: [0005]:2218 (/dev/loop0)
> [chroot-i486] root:/tmp$ umount /tmp/mnt
> umount: /tmp/mnt: filesystem umounted, but mount(8) failed: Device or resource busy
> [chroot-i486] root:/tmp$ losetup -d /dev/loop1
> [chroot-i486] root:/tmp$ losetup -d /dev/loop0

 Fixed. Thanks!

-- 
 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


[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