From owner-freebsd-geom@FreeBSD.ORG Thu Sep 8 15:36:33 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 948921065680; Thu, 8 Sep 2011 15:36:33 +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 5683F8FC13; Thu, 8 Sep 2011 15:36:33 +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 7A3364AC5A; Thu, 8 Sep 2011 19:36:32 +0400 (MSD) Date: Thu, 8 Sep 2011 19:36:28 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <392969824.20110908193628@serebryakov.spb.ru> To: "Andrey V. Elsukov" In-Reply-To: <4E68DC10.3010609@yandex.ru> References: <1451397574.20110908132404@serebryakov.spb.ru> <261371084.20110908132956@serebryakov.spb.ru> <4E688D78.7080902@yandex.ru> <627749234.20110908185718@serebryakov.spb.ru> <4E68DC10.3010609@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable Cc: lev@FreeBSD.org, freebsd-geom@freebsd.org 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 15:36:33 -0000 Hello, Andrey. You wrote 8 =D3=C5=CE=D4=D1=C2=D2=D1 2011 =C7., 19:15:28: > I think conftxt is useless for this purpose. It seems to be useful: if next line after line with device of interest has rank equal or less than of this one, device is not used. > Try this: > % sysctl -b kern.geom.confxml and sysctl -b kern.geom.conftxt works too. --=20 // Black Lion AKA Lev Serebryakov