Re: [PATCH] scsi: Document generic scsi device attributes

Douglas Gilbert
2011-08-19T15:21:55Z

On 11-08-19 10:44 AM, Stephen M. Cameron wrote:
> From: Stephen M. Cameron<scameron@beardog.cce.hp.com>
>

<snip>

> +What: /sys/class/scsi_device/..../device/modalias
> +Date: April, 2007
> +KernelVersion: Unknown
> +Contact: James Bottomley<James.Bottomley@HansenPartnership.com>
> +Description:
> + This read only string value contains a string of the form
> + "scsi:t-0xXX" where "XX" are two hex digits representing the
> + SCSI device type. See also the "type" attribute and table 47
> + in section 8.2.5.1 "Standard INQUIRY data" of the SCSI-2
> + specification.

My copy of SCSI-2 is draft 10b from 1989 and it doesn't have a
section 8.2.5.1 . Since SCSI-2 was withdrawn over 10 years
ago perhaps you could use a more recent reference. [I see
webstore.ansi.org still sells the SCSI-2 standard for $30 .]

SPC-3 is a standard [ANSI INCITS 408-2005; ISO/IEC 14776-453]
and the relevant section, judging from its last draft, would
be table 83 in section 6.4.2 . And it is now called the
"peripheral device type".

Doug Gilbert