* 2.6.0t7: /proc/partitions names not devfs like...
@ 2003-10-16 16:03 Ludovic Drolez
2003-10-17 8:16 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Drolez @ 2003-10-16 16:03 UTC (permalink / raw)
To: linux-kernel
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 ?
Cheers,
--
Ludovic DROLEZ Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000 57070 METZ
tel : 03 87 75 55 21 fax : 03 87 75 19 26
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.0t7: /proc/partitions names not devfs like...
2003-10-16 16:03 2.6.0t7: /proc/partitions names not devfs like Ludovic Drolez
@ 2003-10-17 8:16 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2003-10-17 8:16 UTC (permalink / raw)
To: Ludovic Drolez; +Cc: linux-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-17 8:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-16 16:03 2.6.0t7: /proc/partitions names not devfs like Ludovic Drolez
2003-10-17 8:16 ` Christoph Hellwig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.