Is here any way for shell script to understand,
is GEOM consumed or not?
Gary Palmer
gpalmer at freebsd.org
Thu Sep 8 15:36:23 UTC 2011
On Thu, Sep 08, 2011 at 06:57:18PM +0400, Lev Serebryakov wrote:
> Hello, Ivan.
> You wrote 8 ???????????????? 2011 ??., 16:06:50:
>
> >> You can try parse sysctl kern.geom.confxml
> > Or for shell scripting rather kern.geom.conftxt.
>
> % sysctl kern.geom.conftxt
> % sysctl kern.geom.confxml
> % su
> Password:
> blob# sysctl kern.geom.conftxt
> blob# sysctl kern.geom.confxml
> blob# exit
> % uname -orsp
> FreeBSD 8.2-STABLE amd64
> %
They are opague sysctls and not shown by default.
Try
sysctl -b kern.geom.conftxt
sysctl -b kern.geom.confxml
Regards
Gary
More information about the freebsd-geom
mailing list