Is here any way for shell script to understand, is GEOM consumed
or not?
Andrey V. Elsukov
bu7cher at yandex.ru
Thu Sep 8 09:40:41 UTC 2011
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
--
WBR, Andrey V. Elsukov
More information about the freebsd-geom
mailing list