Re: [libvirt] [TCK PATCH] block devices: allow specification of size for safety

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

 



On Wed, May 05, 2010 at 02:49:44PM -0600, Eric Blake wrote:
> On 05/05/2010 02:48 PM, Dave Allan wrote:
> >>
> >> Great for SCSI, not so great for USB sticks:
> >>
> >> # hdparm -i /dev/sdb
> > 
> > What does the following give you?
> > 
> > scsi_id --whitelisted --replace-whitespace --device=/dev/sdb
> 
> # scsi_id --whitelisted --replace-whitespace --device=/dev/sdb
> # echo $?
> 1
> 
> Not a peep on stderr (for shame).

Ok, looks like that device doesn't return a serial number.  For
devices that do have serials, especially when there are lots of nearly
identical disks on a system, it'd be really helpful.

Dave

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]