On Tue, Feb 21, 2006 at 08:50:07PM +0100, Christian Bricart wrote:
> 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

Look in /sys/block/ for your block devices, not in the ide specific
directory.

> 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? ;-)

/dev/ide is _not_ according to the LSB.

It's up to the hdparm authors if they still wish to support this
obsolete interface or not.

thanks,

greg k-h
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to