* Hermann Lauer <[email protected]> [20090303 13:42]:

> space mangling in scsi_id to underscores seems not to be working correct:

> /sbin/scsi_id -g -i -u -s /block/sde
> 3:0:1:0: 3600d02300032255c00000122783b0a00

> According to the manpage stdout should be 
> '3:0:1:0:_3600d02300032255c00000122783b0a00', or ?

Using the -i option you are telling scsi_id to:

| Prefix the identification string with the  driver model (sysfs) bus
| id of the SCSI device

It works fine for the identifier itself, compare:

# /sbin/scsi_id -g -s /block/sdb | cat -vte
SATA     SAMSUNG HD160JJS08HJ10L467065      $

with:

# /sbin/scsi_id -g -u -s /block/sdb
SATA_SAMSUNG_HD160JJS08HJ10L467065_

I'd say the docs aren't precise enough regarding the -i option
because IMHO that's intented behaviour. But:

As all sysfs dependencies where removed from scsi_id in udev 122 the
option -i was dropped as well (see upstream git commit
2d05764a77078953849a1f84ac269c927904ca23) and isn't supported
anymore anyway.

I'm suggesting to close this bugreport if bugreporter and maintainer
ACK that.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to