Re: /proc/partitions gets name wrong for IDE discs

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Sep 11 2002 - 04:44:04 EST


On Wed, 11 Sep 2002, Peter Chubb wrote:

>
> The `all of disc' name in /proc/partitions is coming out as `<NULL>'
> instead of /dev/hda or similar when not using devfs, in current BK.
>
> major minor #blocks name
>
> 9 0 240120512 <NULL>
> 3 0 4202415 <NULL>
> 3 1 979933 hda1
> 3 2 979965 hda2
> 3 3 2241067 hda3
> 22 0 120060864 <NULL>
> 22 1 120059887 hdc1
> 22 64 120060864 <NULL>
> 22 65 120060830 hdd1

Can't reproduce it.

% cat /proc/partitions
major minor #blocks name

  45 0 39082680 pda
  45 1 8389048 pda1
  45 2 524664 pda2
  11 0 1048575 sr0
   3 0 29300040 hda
   3 1 16033 hda1
   3 2 1052257 hda2
   3 3 104422 hda3
   3 4 1 hda4
   3 5 56196 hda5
   3 6 248976 hda6
   3 7 248976 hda7
   3 8 248976 hda8
   3 9 586341 hda9
   3 10 14201428 hda10
   3 64 14668416 hdb
   3 65 8389048 hdb1
%

2.5.34-BK, no devfs in sight...

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



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:24 EST