devfs on 2.4.0-test4 - /proc/ide not consistant with /dev/ide

From: Russell Coker (russell@coker.com.au)
Date: Thu Jul 27 2000 - 08:56:57 EST


The following shows how the devices for my IDE hard drive as shown in /dev
and /proc/partitions are not consistant with /proc/ide .
This confuses noflushd and may confuse other software too.

I believe that the /proc/ide tree should match /dev/ide, so there should be
/proc/ide/host0/bus0/...

Russell Coker

rjc@lyta:/proc/ide/ide0$l
total 4
dr-xr-xr-x 3 root root 0 Jul 27 15:55 .
dr-xr-xr-x 3 root root 0 Jul 27 15:37 ..
-r--r--r-- 1 root root 0 Jul 27 15:55 channel
-rw-r--r-- 1 root root 0 Jul 27 15:55 config
dr-xr-xr-x 2 root root 0 Jul 27 15:55 hda
-r--r--r-- 1 root root 0 Jul 27 15:55 mate
-r--r--r-- 1 root root 0 Jul 27 15:55 model
rjc@lyta:/proc/ide/ide0$cat /proc/partitions
major minor #blocks name
 
   3 0 9820440 ide/host0/bus0/target0/lun0/disc
   3 1 309959 ide/host0/bus0/target0/lun0/part1
   3 2 22680 ide/host0/bus0/target0/lun0/part2
   3 3 1239840 ide/host0/bus0/target0/lun0/part3
   3 4 1 ide/host0/bus0/target0/lun0/part4
   3 5 2268000 ide/host0/bus0/target0/lun0/part5
   3 6 4490577 ide/host0/bus0/target0/lun0/part6
   3 7 211648 ide/host0/bus0/target0/lun0/part7
   3 8 362848 ide/host0/bus0/target0/lun0/part8
   3 9 914728 ide/host0/bus0/target0/lun0/part9

-- 
My current location - X marks the spot.
X
X
X

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:23 EST