Quote:
|
Originally Posted by CodeRoot What do these commands yield? (as root):
grep subfs /proc/modules /proc/mounts /var/log/boot.msg |
No output, just next line
Quote:
|
grep subfs /var/log/messages | tail
|
No output, just next line
Quote:
|
grep subfs /var/log/warn | tail
|
No output, just next line
Quote:
|
udevinfo -d | grep -A 6 block
|
# udevinfo -d | grep -A 6 block
/block/hda=/dev/hda
/block/hda/hda1=/dev/hda1
/block/hda/hda2=/dev/hda2
/block/hda/hda5=/dev/hda5
/block/hda/hda6=/dev/hda6
/block/hda/hda7=/dev/hda7
/block/hdc=/dev/hdc
/block/hdd=/dev/hdd
/class/input/input0/event0=/dev/input/event0
/class/input/input1/event1=/dev/input/event1
/class/input/input3/event2=/dev/input/event2
/class/input/input3/mouse0=/dev/input/mouse0
/class/input/mice=/dev/input/mice
/class/misc/device-mapper=/dev/device-mapper
And finally, last ( but not least ? )...
Quote:
|
ls -al /sys/block/hd*[/code]
|
# ls -al /sys/block/hd*
/sys/block/hda:
total 0
drwxr-xr-x 8 root root 0 2006-08-29 21:22 .
drwxr-xr-x 29 root root 0 2006-08-29 21:22 ..
-r--r--r-- 1 root root 4096 2006-08-29 21:22 dev
lrwxrwxrwx 1 root root 0 2006-08-29 21:22 device -> ../../devices/pci0000:00/0000:00:06.0/ide0/0.0
drwxr-xr-x 2 root root 0 2006-08-30 01:22 hda1
drwxr-xr-x 2 root root 0 2006-08-30 01:22 hda2
drwxr-xr-x 2 root root 0 2006-08-30 01:22 hda5
drwxr-xr-x 2 root root 0 2006-08-30 01:22 hda6
drwxr-xr-x 2 root root 0 2006-08-30 01:22 hda7
drwxr-xr-x 3 root root 0 2006-08-29 21:22 queue
-r--r--r-- 1 root root 4096 2006-08-29 21:22 range
-r--r--r-- 1 root root 4096 2006-08-29 21:22 removable
-r--r--r-- 1 root root 4096 2006-08-29 21:22 size
-r--r--r-- 1 root root 4096 2006-08-29 21:22 stat
--w------- 1 root root 4096 2006-08-29 21:22 uevent
/sys/block/hdc:
total 0
drwxr-xr-x 3 root root 0 2006-08-30 01:22 .
drwxr-xr-x 29 root root 0 2006-08-29 21:22 ..
-r--r--r-- 1 root root 4096 2006-08-29 21:22 dev
lrwxrwxrwx 1 root root 0 2006-08-29 21:22 device -> ../../devices/pci0000:00/0000:00:06.0/ide1/1.0
drwxr-xr-x 3 root root 0 2006-08-29 21:22 queue
-r--r--r-- 1 root root 4096 2006-08-30 01:29 range
-r--r--r-- 1 root root 4096 2006-08-29 21:22 removable
-r--r--r-- 1 root root 4096 2006-08-30 01:22 size
-r--r--r-- 1 root root 4096 2006-08-30 01:29 stat
--w------- 1 root root 4096 2006-08-30 01:29 uevent
/sys/block/hdd:
total 0
drwxr-xr-x 3 root root 0 2006-08-30 01:22 .
drwxr-xr-x 29 root root 0 2006-08-29 21:22 ..
-r--r--r-- 1 root root 4096 2006-08-29 21:22 dev
lrwxrwxrwx 1 root root 0 2006-08-29 21:22 device -> ../../devices/pci0000:00/0000:00:06.0/ide1/1.1
drwxr-xr-x 3 root root 0 2006-08-29 21:22 queue
-r--r--r-- 1 root root 4096 2006-08-30 01:29 range
-r--r--r-- 1 root root 4096 2006-08-29 21:22 removable
-r--r--r-- 1 root root 4096 2006-08-30 01:22 size
-r--r--r-- 1 root root 4096 2006-08-30 01:29 stat
--w------- 1 root root 4096 2006-08-30 01:29 uevent