Richard Fish wrote:
On 2/21/06, Christian Bricart <[EMAIL PROTECTED]> wrote:
Hi,
So I have /dev/hda through /dev/hdl which are ok. But the mappings to
/dev/discs/discX with X > 7 are missing.
<snip>
I wanted to file a bug report, but I'm not certain if it's actually
udev's fault.
Yes, it is udev's fault, but it is not a bug. The /dev/discs nodes
were a convention of devfs, and _never_ standard.
Re-checked.. /dev/discs seems to be based on /dev/ide/-mapping and yet
they are not complete:
magrathea ~ # find /dev/ide -name disc -o -name cd
/dev/ide/host0/bus0/target0/lun0/disc
/dev/ide/host0/bus0/target1/lun0/disc
/dev/ide/host0/bus1/target0/lun0/cd
/dev/ide/host0/bus1/target1/lun0/disc
/dev/ide/host2/bus0/target0/lun0/disc
/dev/ide/host2/bus0/target1/lun0/disc
/dev/ide/host4/bus0/target0/lun0/disc
/dev/ide/host4/bus1/target0/lun0/disc
/dev/ide/host4/bus1/target1/lun0/disc
so /dev/ide/host/bus0/target1/lun0/disc (which ought to be /dev/hdj) is
missing there.
But see the listing in sysfs:
magrathea ~ # find /sys/bus/ide/drivers/ide* -type l | sort -k 7 -t /
/sys/bus/ide/drivers/ide-disk/0.0
/sys/bus/ide/drivers/ide-disk/0.1
/sys/bus/ide/drivers/ide-cdrom/1.0
/sys/bus/ide/drivers/ide-disk/1.1
/sys/bus/ide/drivers/ide-disk/2.0
/sys/bus/ide/drivers/ide-disk/2.1
/sys/bus/ide/drivers/ide-disk/4.0
/sys/bus/ide/drivers/ide-disk/4.1
/sys/bus/ide/drivers/ide-disk/5.0
/sys/bus/ide/drivers/ide-disk/5.1
and the listing from dmesg:
magrathea ~# dmesg | grep ^hd | grep drive
hda: Maxtor 4D040H2, ATA DISK drive
hdb: SAMSUNG SP1614N, ATA DISK drive
hdc: IDE-CD R/RW 16x10A, ATAPI CD/DVD-ROM drive
hdd: Maxtor 92041U4, ATA DISK drive
hde: Maxtor 4G120J6, ATA DISK drive
hdf: Maxtor 96147H6, ATA DISK drive
hdi: SAMSUNG SP1614N, ATA DISK drive
hdj: IC35L040AVER07-0, ATA DISK drive
hdk: SAMSUNG SP1614N, ATA DISK drive
hdl: SAMSUNG SP1614N, ATA DISK drive
And hdparm iterates through /dev/ide/* if found...
Is /dev/ide according to LSB? Or is this also supposed to vanish? ;-)
Then I'll have to file a bug for hdparm instead :)
Christian
From the ChangeLog (there are many other entries BTW):
*udev-064-r1 (31 Jul 2005)
31 Jul 2005; Greg Kroah-Hartman <[EMAIL PROTECTED]>
+files/udev.rules-064-r1, +udev-064-r1.ebuild:
Start moving to a sane /dev naming scheme.
This release removes the devfs names for the tty and consolde devices, and the
symlinks that were implementing the LSB standard names. We only implement the
LSB names now, which saves over 3Mb of RAM on /dev.
-Richard
--
gentoo-dev@gentoo.org mailing list