Re: [PATCH RFC] umount: allow unmounting loopdev specified by associated file

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

 



On Thu, Feb 17, 2011 at 12:52:43PM +0100, Petr Uzel wrote:
> Make it possible to unmount a filesystem on a loop device if it is
> specified by associated backing file. It does not attempt to unmount
> anything if there are more than one loop device associated with the
> given file.
> 
> Umount looks for associated loopdevice(s) only if umount is called
> with the regular file as an argument.
> 
> Before:
> mount -o loop -t ext2 img mnt
> umount -v img
> > Could not find /home/puzel/upstream/util-linux/img in mtab
> > umount: img: not mounted

 Ah... this is bug. I have added a regression test for this issue.

 Applied, thanks.

    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


[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