From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev naming for PATA drives
Date: Wed, 29 Aug 2007 12:18:51 +0000 [thread overview]
Message-ID: <1188389931.3672.34.camel@lov.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0708281957160.3018@fbirervta.pbzchgretzou.qr>
On Wed, 2007-08-29 at 14:04 +0200, Jan Engelhardt wrote:
> On Aug 29 2007 07:05, Kay Sievers wrote:
> >
> >> And I also wonder why the ID_MODEL gets truncated by one
> >> character when copies to ID_SERIAL_SHORT. (The 'A' of MK2003GA is missing.)
> >
> >They are unfortunately truncated to 15 chars, which should be 16, yes.
> >
> >And if you read the native ATA string it has an additional 'H' too,
> >which does not survive the SCSI layer. :)
>
> Can't the SCSI layer be enhanced? If the (real SCSI) hardware still only does
> 16, well, let it be.
Standard INQUIRY Data Format:
...
|-----+-----------------------------------------------------------------------|
| 8 | (MSB) |
|- - -+--- Vendor Identification ---|
| 15 | (LSB) |
|-----+-----------------------------------------------------------------------|
| 16 | (MSB) |
|- - -+--- Product Identification ---|
| 31 | (LSB) |
|-----+-----------------------------------------------------------------------|
...
> Especially bad is that vendor is always "ATA" with libata
> and the real vendor + model name get squeezed into model name or so.
If vendor is ATA, you can use the native ATA commands (hdparm, ata_id)
and send ATA inquiries over the SCSI device. I think its fine, its just
ATA tunneled through SCSI.
Kay
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2007-08-29 12:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-28 18:05 udev naming for PATA drives Jan Engelhardt
2007-08-29 4:11 ` Kay Sievers
2007-08-29 4:30 ` Jan Engelhardt
2007-08-29 5:05 ` Kay Sievers
2007-08-29 12:04 ` Jan Engelhardt
2007-08-29 12:12 ` Hannes Reinecke
2007-08-29 12:18 ` Kay Sievers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1188389931.3672.34.camel@lov.localdomain \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).