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?
Attachment:
signature.asc
Description: OpenPGP digital signature