Re: IO stats in /proc/partitions

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 21 May 2002 14:11:45 +0100 (BST)


> > Changes belong in 2.5, /proc/partitions is the wrong place, but it's
> > also the place the tools expect. I hope that's not going to change in the
> > stable kernel.
>
> You misunderstand.
> Everybody agrees that /proc/partitions is the wrong place.
> Up to now these statistics have not been part of any official
> kernel, stable or not.

The 2.4 stable kernel is the minority product here 8)

> However, someone wanted to introduce them for the first time
> in 2.4.19 and put them in /proc/partitions. That is a really bad idea,
> especially when they will be somewhere else in 2.5.

I agree. Its relatively easy for vendors to keep the stats in /proc/partitions
for 2.4.x (certainly adding other stuff instead to proc/partitions for 2.4
is bad). It is better that people are encouraged to use a new 2.5 compatible
interface over time and for later 2.4.x that vendors ship something with
both.

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