Is here any way for shell script to understand,
is GEOM consumed or not?
Lev Serebryakov
lev at FreeBSD.org
Thu Sep 8 09:30:01 UTC 2011
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.
--
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
More information about the freebsd-geom
mailing list