Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2011 14:06:50 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-geom@freebsd.org
Subject:   Re: Is here any way for shell script to understand, is GEOM consumed or not?
Message-ID:  <j4ab4q$8cq$1@dough.gmane.org>
In-Reply-To: <4E688D78.7080902@yandex.ru>
References:  <1451397574.20110908132404@serebryakov.spb.ru> <261371084.20110908132956@serebryakov.spb.ru> <4E688D78.7080902@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/09/2011 11:40, Andrey V. Elsukov wrote:
> On 08.09.2011 13:29, Lev Serebryakov wrote:
>> Hello, Lev.
>> You wrote 8 сентября 2011 г., 13:24:04:
>>
>>>  I can not find any utility to dump inn shell-parseable form all
>>> consumer-producer graph.
>>  It could be detected by "geom <class> list <name>" and checking, that
>> "Mode" is r0w0e0, but it I don't understand how could I determine
>> <class> by <name>. Some classes are obvious ("stripe/name" has class
>> "stripe"), but some -- not (ada0s1 has class "part"), and here is no
>> guarantee, that "part" is only special case.
> 
> You can try parse sysctl kern.geom.confxml

Or for shell scripting rather kern.geom.conftxt.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j4ab4q$8cq$1>