Subject: Re: tape drive instrumentation round 2
To: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 11/14/2005 14:59:12
--JgQwtEuHJzHdouWu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=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.
>=20
> 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.
>=20
> 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.

Take care,

Bill

--JgQwtEuHJzHdouWu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFDeRbAWz+3JHUci9cRAut6AJ0dFXaKljwDNccnT2CVSlvllYLATgCeIAhK
CsCSHle5rBGafnVPgCxvfhY=
=8akq
-----END PGP SIGNATURE-----

--JgQwtEuHJzHdouWu--