On Thu, 16 May 2002, Christoph Hellwig wrote:
> On Wed, May 15, 2002 at 06:39:03PM -0300, Marcelo Tosatti wrote:
> > > On the other hand, disk statistics should not be in
> > > /proc/partitions. They should be in /proc/diskstatistics.
> > > I see a heading today "rio rmerge rsect ruse wio wmerge"
> > > "wsect wuse running use aveq". No doubt next year we'll
> > > want different statistics. So /proc/diskstatistics should
> > > start with a header line including a version field.
> > >
> > > Please keep these disk statistics apart from /proc/partitions.
> > The change can possibly break userlevel tools which were working with
> > 2.4.18.
> > Christoph, please create a /proc/diskstatistics file or something like
> > that and send me a patch.
> I rather send a complete backout patch for mainline instead. This format
> has been used by the vendor (Red Hat, SuSE, etc..) kernels since 2.2 ages
> and is used (if present) by the stock performance tools for linux
> (i.e. syststat package, iostats
Look, I just do not want to break some apps which read /proc/partitions.
Look, changing the userlevel apps to at least know about the new format is
not hard. And you can do that over time.
Do you see why I think /proc/whatever-else is interesting ?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.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 : Thu May 23 2002 - 22:00:31 EST