Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?

From: Laurent Riffard
Date: Thu Feb 24 2005 - 12:06:59 EST




Le 24.02.2005 00:47, Greg KH a écrit :
On Wed, Feb 23, 2005 at 11:36:50PM +0100, Laurent Riffard wrote:

hey, what's this /dev/hds ? digging into /sys/block...

~$ ls -l /sys/block/hds/device
lrwxrwxrwx 1 root root 0 f?v 23 22:45 /sys/block/hds/device ->
../../devices/pci0000:00/0000:00:04.1/ide1/1.1/

/dev/hdq should be /dev/hdd...

~$ ls -l /proc/ide
total 4
-r--r--r-- 1 root root 0 f?v 23 23:28 drivers
lrwxrwxrwx 1 root root 8 f?v 23 23:28 hda -> ide0/hda/
lrwxrwxrwx 1 root root 8 f?v 23 23:28 hdb -> ide0/hdb/
lrwxrwxrwx 1 root root 8 f?v 23 23:28 hdc -> ide1/hdc/
lrwxrwxrwx 1 root root 8 f?v 23 23:28 hdd -> ide1/hdd/
dr-xr-xr-x 4 root root 0 f?v 23 23:28 ide0/
dr-xr-xr-x 4 root root 0 f?v 23 23:28 ide1/
-r--r--r-- 1 root root 0 f?v 23 23:28 via
~$ ls -d /sys/block/hd*
/sys/block/hda/ /sys/block/hdc/ /sys/block/hdq/ /sys/block/hds/


What does /proc/devices show?

Character devices:
1 mem
4 /dev/vc/0
4 tty
5 /dev/tty
5 /dev/console
5 /dev/ptmx
6 lp
7 vcs
10 misc
13 input
14 sound
29 fb
116 alsa
128 ptm
136 pts
171 ieee1394
180 usb

Block devices:
1 ramdisk
2 fd
3 ide0
7 loop
22 ide1
253 pktcdvd
254 device-mapper

Do you see something strange here ?

--
laurent

Attachment: signature.asc
Description: OpenPGP digital signature