Re: Vendor field with USB, [SP]ATA etc-attached disks

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

 



Michael Tokarev wrote:
With current SATA, PATA and at least some USB disks,
Linux reports Vendor: $subsystem, instead of the actual
vendor of the drive, like this:

scsi1 : ata_piix
  Vendor: ATA       Model: ST3808110AS       Rev: n/a
  Type:   Direct-Access                      ANSI SCSI revision: 05

This should be Vendor: Seagate, not ATA (Note also the lack
of "Revision" field).  The same for PATA disk:

scsi0 : pata_via
  Vendor: ATA       Model: ST3120026A        Rev: 3.76
  Type:   Direct-Access                      ANSI SCSI revision: 05

The same is shown in /sys/block/$DEV/device/vendor.

Can it be changed to show real vendor, instead of the subsystem name?

No.  Two reasons:

* ATA doesn't export the vendor separate from the model, and in some cases (Seagate) it isn't present at all, anywhere. * "ATA" vendor string is the standardized value to put in that field, according to the SCSI T10 specifications.

	Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux