Re: losetup race condition

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

 



Karel Zak wrote:

> 
>  We can print out the selected loop device name, but this change is
>  not backwardly compatible (it means scripts without "> /dev/null"
>  will be print the name of device to stdout, or log file, ...). The
>  other possibility is add a new option ('-p' when you need a device
>  name):
> 
>     $lodev=`losetup -f -p filename.img`
> 
>  Comments?
> 

Makes sense to me.

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