Subject: Re: Several Issues
To: Pavel Cahyna <pavel.cahyna@st.ms.mff.cuni.cz>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 02/17/2003 19:32:17
On Sun, Feb 16, 2003 at 10:00:14PM +0100, Pavel Cahyna wrote:
> > > 4. This error comes up in my daily report (or from iostat -x):
> > > 
> > > iostat: sysctl hw.diskstats failed: Invalid argument
> > 
> > Do you have out of sync kernel and userland ?
> > 
> Excuse my ignorance, but isn't sysctl interface here to keep
> compatibility, even if userland and kernel are out of sync? What's the
> point of using sysctl if you must keep them in sync? You might as well
> grovel kernel memory, no?

groveling kernel memory has others problems (need to be sgid, no locking
of data, etc)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 23 ans d'experience feront toujours la difference
--