issues with kern.devstat.all
J. Hellenthal
jhell at DataIX.net
Mon Mar 21 04:37:20 UTC 2011
On Sun, 20 Mar 2011 13:51, arundel@ wrote:
> hi there,
>
> could somebody explain the following behavior running a recent CURRENT on amd64?
>
> otaku% sysctl kern.devstat
> kern.devstat.numdevs: 6
> kern.devstat.generation: 222
> kern.devstat.version: 6
> otaku% sysctl kern.devstat.all
> otaku% echo $?
> 0
> otaku% sysctl -d kern.devstat.all
> kern.devstat.all: All devices in the devstat list
>
This is an opaque sysctl. You can use the (-o) flag to see the format
and the first sixteen bytes or use (-x) to see the full output. There are
plenty of these in the sysctl tree, they are just not normally conveyed
directly to the user without the proper flags given as the output is not
very useful to the human eye and contains to much output in any other
format to be useful.
What this one specifically relates to IDK, maybe someone else can tune in
for further information.
See ( sysctl -A ) for further interesting details.
--
Regards,
J. Hellenthal
(0x89D8547E)
JJH48-ARIN
More information about the freebsd-hackers
mailing list