Re: [PATCH] conditionally re-enable per-disk stats, convert to seq_file

From: Christoph Hellwig (hch@lst.de)
Date: Wed Aug 07 2002 - 17:33:25 EST


On Wed, Aug 07, 2002 at 11:18:56PM +0200, Andries Brouwer wrote:
> But why in /proc/partitions ?
> Maybe /proc/partitions can go away eventually with all info available
> under driverfs or so. But for the time being, /proc/partitions is used,
> and some changes are planned to make identification of the devices
> involved easier.
> It is really ugly to stuff a lot of garbage into a file just because
> it happens to exist already. If you want disk statistics, why not
> put it in /proc/diskstatistics?

Because it's where existing tools expect it. I agree with you that we
want a nicer interface for 2.6, but give the userbase some time to
prepare for a new interface.

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



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:38 EST