Re: losesetup -f, broken error handling

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

 



On Mon, May 12, 2014 at 03:10:45PM +0200, Ruediger Meier wrote:
> Hi,
> 
> When having a kernel without loop device support
> $ losetup -f 
> returns 0 and no warning on stderr

 The return code is mistake, but there is:

     warn(_("cannot find an unused loop device"));
 
 in the code. Please, try

    # LOOPDEV_DEBUG=yes losetup -f

 or (and) strace would be also nice.

    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