lkml.org 
[lkml]   [2003]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.0t7: /proc/partitions names not devfs like...
On Thu, Oct 16, 2003 at 06:03:16PM +0200, Ludovic Drolez wrote:
> Hi !
>
> I'm using devfs on a small 2.6.0t7 kernel and I have software which relies on
> the exactitude of /proc/partitions.
> The problem is that in /proc/partition I have something like
>
> 3 0 19925880 hda
> 3 1 19920568 hda1
>
> where a 2.4.x kernel gave me:
>
> 3 0 19925880 ide/host0/bus0/target0/lun0/disc
> 3 1 19920568 ide/host0/bus0/target0/lun0/part1
>
> I've enabled the following options:
>
> CONFIG_DEVFS_FS=y
> CONFIG_DEVFS_MOUNT=y
>
> Any idea, why this has changed ?

Yes, the 2.4 devfs behaviour was buggy - it was different from the
non-devfs output. Note that you can't rely on the names in /proc/partitions
anyway as the system administrator is free to name the block devices however
he wants.

-
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/

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