Hi Russell,

Thanks for the report, here's what upstream has to say.

------- Forwarded Message

Matt,
There is no fix that I can see! The ATA field that is getting
truncated is longer than the corresponding SCSI field (INQUIRY
command response "product identification" field which is 16
bytes long).

In this case the "HITACHI HTS72323" entry is 16 bytes long and
has been truncated (to the right) as defined by the SAT and
SPC-4 standards.

lsscsi lists SCSI devices and the "1 line per device" output
to carefully tweaked to align vertically and not spill too
far to the right. And extra information is appended to the
lines with some options (e.g. 'lsscsi -s').

lsscsi does sysfs data-mining and does not issue SCSI commands.
This allows normal users to execute lsscsi. The VPD information
(page 0x83 as shown in the bug report) only became available
in sysfs around lk 3.15 (and its in binary!). Page 0x83 is
the device identification VPD page which has flexible field
lengths and the capability of providing a lot more information
(e.g. WWID and various other unique identifiers). Only some
of the information that page provides is mandatory (according
to modern standards (SPC-4)).

Thoughts? Better documentation (man page)?

Doug Gilbert


------- End of Forwarded Message

I agree with Doug this should at least be documented, so leaving this bug 
open until that is solved.

Thanks,

-- 
Matt Taggart
tagg...@debian.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to