From owner-freebsd-geom@FreeBSD.ORG Thu Sep 8 09:30:00 2011 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E952C106566B for ; Thu, 8 Sep 2011 09:30:00 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id AC3E78FC1C for ; Thu, 8 Sep 2011 09:30:00 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:14f9:cfdf:caf2:2c18]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id F365B4AC58 for ; Thu, 8 Sep 2011 13:29:59 +0400 (MSD) Date: Thu, 8 Sep 2011 13:29:56 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <261371084.20110908132956@serebryakov.spb.ru> To: freebsd-geom@FreeBSD.org In-Reply-To: <1451397574.20110908132404@serebryakov.spb.ru> References: <1451397574.20110908132404@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Is here any way for shell script to understand, is GEOM consumed or not? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2011 09:30:01 -0000 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 list " and checking, that "Mode" is r0w0e0, but it I don't understand how could I determine by . 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