Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2011 19:15:28 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        lev@FreeBSD.org
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Is here any way for shell script to understand, is GEOM consumed or not?
Message-ID:  <4E68DC10.3010609@yandex.ru>
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 08.09.2011 18:57, 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.

I think conftxt is useless for this purpose.
Try this:

% sysctl -b kern.geom.confxml

-- 
WBR, Andrey V. Elsukov



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