Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2009 21:16:33 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: geom debugging tools ? 
Message-ID:  <1094.1238102193@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 26 Mar 2009 20:22:22 %2B0900." <20090326112222.GE10080@stlux503.dsto.defence.gov.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20090326112222.GE10080@stlux503.dsto.defence.gov.au>, "Wilkinson, A
lex" writes:
>
>    0n Thu, Mar 26, 2009 at 11:17:30AM +0000, Poul-Henning Kamp wrote: 
>
>    >sysctl -b kern.geom.confxml
>
>Curios, why doesn't 'sysctl -a' display "kern.geom.confxml" ? e.g.

Because we don't want to spam the sysctl -a output with so much
output.

There are many other sysctls which also are not shown during
sysctl -a because they return binary structures.

The '-b' flag means "I know it may be binary" and we (ab)use that
to supress the XML output from sysctl -a.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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