Date: Thu, 8 Sep 2011 11:36:21 -0400 From: Gary Palmer <gpalmer@freebsd.org> To: Lev Serebryakov <lev@FreeBSD.org> Cc: Ivan Voras <ivoras@freebsd.org>, freebsd-geom@freebsd.org Subject: Re: Is here any way for shell script to understand, is GEOM consumed or not? Message-ID: <20110908153621.GB42938@in-addr.com> In-Reply-To: <627749234.20110908185718@serebryakov.spb.ru> References: <1451397574.20110908132404@serebryakov.spb.ru> <261371084.20110908132956@serebryakov.spb.ru> <4E688D78.7080902@yandex.ru> <j4ab4q$8cq$1@dough.gmane.org> <627749234.20110908185718@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110908153621.GB42938>