Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 1998 08:29:07 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        bde@FreeBSD.ORG, mike@smith.net.au, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/nfsstat nfsstat.c 
Message-ID:  <199810251629.IAA00707@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 26 Oct 1998 00:00:28 %2B1100." <199810251300.AAA25638@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >>   Modified files:
> >>     usr.bin/nfsstat      nfsstat.c 
> >>   Log:
> >>   Backout out previous commit.  The bug was in the kernel.
> >>   
> >>   Revision  Changes    Path
> >>   1.12      +9 -2      src/usr.bin/nfsstat/nfsstat.c
> >
> >This is almost certainly wrong.  We should be using the textual MIB 
> >names wherever possible, and this is no exception.  Why should we 
> >kludge around using several different lookup mechanisms when only one 
> >is required?
> 
> Lookup by number is the standard method.  It is preferable for old
> sysctls because it is better documented.

It can't be the standard method because it's not applicable to the 
majority of sysctls.  It's not preferable for any sysctl for the same 
reasons that the old mount type manifest constants were obsoleted by 
getvfsbyname.  Such documentation as exists doesn't really qualify as 
"better" or otherwise.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810251629.IAA00707>