lkml.org 
[lkml]   [2000]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectdevfs on 2.4.0-test4 - /proc/ide not consistant with /dev/ide
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.038 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site