Date: Thu, 8 Sep 2011 13:29:56 +0400 From: Lev Serebryakov <lev@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: <261371084.20110908132956@serebryakov.spb.ru> In-Reply-To: <1451397574.20110908132404@serebryakov.spb.ru> References: <1451397574.20110908132404@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Lev. You wrote 8 =F1=E5=ED=F2=FF=E1=F0=FF 2011 =E3., 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. --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?261371084.20110908132956>