Re: losetup race condition

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

 



On Sun, Jun 10, 2007 at 05:43:53PM -0700, H. Peter Anvin wrote:
> 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.

 Commited, but with '-s' (the '-p' is already used).

    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