
5 May
2010
5 May
'10
11:11 p.m.
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