From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Wed, 29 Aug 2007 04:11:54 +0000 Subject: Re: udev naming for PATA drives Message-Id: <3ae72650708282111g16ee699eh3857a9dee2936799@mail.gmail.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On 8/28/07, Jan Engelhardt wrote: > just for the fun of it, I switched one box from alim15x3.ok to > pata_ali.ko. That device names were going to change was kinda expected. > But not this odd. > > alim15x3.ko: > /dev/disk/by-id/ata-TOSHIBA_MK2003GAH_73A30603T > > pata_ali.ko: > /dev/disk/by-id/ata-TOSHIBA_MK2003GA_73A30603T______ > /dev/disk/by-id/scsi-SATA-TOSHIBA_MK2003G73A30603T > > With pata_ali, the model name is truncated, and I've got six odd > underscores (limited scsi layer?). Then, scsi is wrong, but perhaps > acceptable, because it is, indeed, the scsi layer. But SATA is totally > out of place. > > Running udev-103-12 from openSUSE. Not sure if they have any changes > wrt. disks, but maybe someone is listening and should feel being spoken > to. :) SCSI, unlike ATA, is limited to 16 chars, yes. So it can't pass the whole string. Recent udev versions call ata_id also for libata drives. But it needs kernel support, which was added for ATA-pass-through. What does: udevtest /block/sda print on your box? 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