Subject: Re: tape drive instrumentation round 2
To: Pavel Cahyna <email@example.com>
From: Bill Studenmund <firstname.lastname@example.org>
Date: 11/14/2005 14:59:12
Content-Type: text/plain; charset=us-ascii
On Mon, Nov 14, 2005 at 07:18:08PM +0100, Pavel Cahyna wrote:
> On Sun, Nov 13, 2005 at 01:12:10AM +1030, Brett Lymn wrote:
> > I shifted the sysctl node setups for disknames and diskstats into
> > subr_drive.c and renamed the sysctl nodes to drivenames and
> > drivestats.=20
> > In userland I backed out the changes to vmstat and renamed dkstat.c to
> > drvstat.c to better reflect the non-disk related nature of the new
> > file. Note that due to the sysctl numbers being the same an old
> > userland will work fine with the updated kernel code.
> I think it won't - any code that wants disknames will now get disks+tapes
> together. Also, userland is not restricted to numbers, it can also use
> names. Shell scripts usually do.
> I hope that backward compatibility won't be broken in the way you propose.
> Why not leave hw.disknames as it is and add hw.tapenames?
Or better yet, leave disknames as it was and add drivenames.
Pavel's right. A number of uses need to know about disk drives explicitly.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
-----END PGP SIGNATURE-----