1 |
On Tue, Feb 21, 2006 at 08:50:07PM +0100, Christian Bricart wrote: |
2 |
> Richard Fish wrote: |
3 |
> >On 2/21/06, Christian Bricart <christian@×××××××.de> wrote: |
4 |
> > |
5 |
> >>Hi, |
6 |
> >>So I have /dev/hda through /dev/hdl which are ok. But the mappings to |
7 |
> >>/dev/discs/discX with X > 7 are missing. |
8 |
> > |
9 |
> > |
10 |
> ><snip> |
11 |
> > |
12 |
> >>I wanted to file a bug report, but I'm not certain if it's actually |
13 |
> >>udev's fault. |
14 |
> > |
15 |
> > |
16 |
> >Yes, it is udev's fault, but it is not a bug. The /dev/discs nodes |
17 |
> >were a convention of devfs, and _never_ standard. |
18 |
> |
19 |
> Re-checked.. /dev/discs seems to be based on /dev/ide/-mapping and yet |
20 |
> they are not complete: |
21 |
> |
22 |
> magrathea ~ # find /dev/ide -name disc -o -name cd |
23 |
> /dev/ide/host0/bus0/target0/lun0/disc |
24 |
> /dev/ide/host0/bus0/target1/lun0/disc |
25 |
> /dev/ide/host0/bus1/target0/lun0/cd |
26 |
> /dev/ide/host0/bus1/target1/lun0/disc |
27 |
> /dev/ide/host2/bus0/target0/lun0/disc |
28 |
> /dev/ide/host2/bus0/target1/lun0/disc |
29 |
> /dev/ide/host4/bus0/target0/lun0/disc |
30 |
> /dev/ide/host4/bus1/target0/lun0/disc |
31 |
> /dev/ide/host4/bus1/target1/lun0/disc |
32 |
> |
33 |
> so /dev/ide/host/bus0/target1/lun0/disc (which ought to be /dev/hdj) is |
34 |
> missing there. |
35 |
> But see the listing in sysfs: |
36 |
> |
37 |
> magrathea ~ # find /sys/bus/ide/drivers/ide* -type l | sort -k 7 -t / |
38 |
> /sys/bus/ide/drivers/ide-disk/0.0 |
39 |
> /sys/bus/ide/drivers/ide-disk/0.1 |
40 |
> /sys/bus/ide/drivers/ide-cdrom/1.0 |
41 |
> /sys/bus/ide/drivers/ide-disk/1.1 |
42 |
> /sys/bus/ide/drivers/ide-disk/2.0 |
43 |
> /sys/bus/ide/drivers/ide-disk/2.1 |
44 |
> /sys/bus/ide/drivers/ide-disk/4.0 |
45 |
> /sys/bus/ide/drivers/ide-disk/4.1 |
46 |
> /sys/bus/ide/drivers/ide-disk/5.0 |
47 |
> /sys/bus/ide/drivers/ide-disk/5.1 |
48 |
|
49 |
Look in /sys/block/ for your block devices, not in the ide specific |
50 |
directory. |
51 |
|
52 |
> and the listing from dmesg: |
53 |
> |
54 |
> magrathea ~# dmesg | grep ^hd | grep drive |
55 |
> hda: Maxtor 4D040H2, ATA DISK drive |
56 |
> hdb: SAMSUNG SP1614N, ATA DISK drive |
57 |
> hdc: IDE-CD R/RW 16x10A, ATAPI CD/DVD-ROM drive |
58 |
> hdd: Maxtor 92041U4, ATA DISK drive |
59 |
> hde: Maxtor 4G120J6, ATA DISK drive |
60 |
> hdf: Maxtor 96147H6, ATA DISK drive |
61 |
> hdi: SAMSUNG SP1614N, ATA DISK drive |
62 |
> hdj: IC35L040AVER07-0, ATA DISK drive |
63 |
> hdk: SAMSUNG SP1614N, ATA DISK drive |
64 |
> hdl: SAMSUNG SP1614N, ATA DISK drive |
65 |
> |
66 |
> And hdparm iterates through /dev/ide/* if found... |
67 |
> Is /dev/ide according to LSB? Or is this also supposed to vanish? ;-) |
68 |
|
69 |
/dev/ide is _not_ according to the LSB. |
70 |
|
71 |
It's up to the hdparm authors if they still wish to support this |
72 |
obsolete interface or not. |
73 |
|
74 |
thanks, |
75 |
|
76 |
greg k-h |
77 |
-- |
78 |
gentoo-dev@g.o mailing list |