Re: 2.6.0t7: /proc/partitions names not devfs like...

From: Christoph Hellwig
Date: Fri Oct 17 2003 - 03:17:40 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/