From owner-freebsd-geom@FreeBSD.ORG Thu Sep 8 15:29:15 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 98B80106564A; Thu, 8 Sep 2011 15:29:15 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward9.mail.yandex.net (forward9.mail.yandex.net [77.88.61.48]) by mx1.freebsd.org (Postfix) with ESMTP id 3C01D8FC13; Thu, 8 Sep 2011 15:29:15 +0000 (UTC) Received: from smtp9.mail.yandex.net (smtp9.mail.yandex.net [77.88.61.35]) by forward9.mail.yandex.net (Yandex) with ESMTP id 7B42DCE2ABE; Thu, 8 Sep 2011 19:16:13 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1315494973; bh=WzUx16mUJOKdgVtRASm9qAAtbT4qknBlS1qru2wXiyY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=otp5ROTf9+S6pH5LMa5SRg9ksqm2p+/abJAsAKC1hXfI+85EDMeUQPdU+10voTdHL RTURoaAjQKDoSQin/HzpMa0ts+kkx1t66aC/IMilcYYFXzVckHzQEhTjBjFkAMn1sz kTuDxDe5Opa5T1O54StRmQGJwEsFetKrvVWg5iNw= Received: from smtp9.mail.yandex.net (localhost [127.0.0.1]) by smtp9.mail.yandex.net (Yandex) with ESMTP id 652D615204BE; Thu, 8 Sep 2011 19:16:13 +0400 (MSD) Received: from dynamic-178-141-127-165.kirov.comstar-r.ru (dynamic-178-141-127-165.kirov.comstar-r.ru [178.141.127.165]) by smtp9.mail.yandex.net (nwsmtp/Yandex) with ESMTP id GCACeV13-GCAOfqcW; Thu, 8 Sep 2011 19:16:13 +0400 X-Yandex-Spam: 1 Message-ID: <4E68DC10.3010609@yandex.ru> Date: Thu, 08 Sep 2011 19:15:28 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: lev@FreeBSD.org References: <1451397574.20110908132404@serebryakov.spb.ru> <261371084.20110908132956@serebryakov.spb.ru> <4E688D78.7080902@yandex.ru> <627749234.20110908185718@serebryakov.spb.ru> In-Reply-To: <627749234.20110908185718@serebryakov.spb.ru> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 08 Sep 2011 15:42:47 +0000 Cc: 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 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:29:15 -0000 On 08.09.2011 18:57, Lev Serebryakov wrote: > Hello, Ivan. > You wrote 8 сентября 2011 г., 16:06:50: > >>> You can try parse sysctl kern.geom.confxml >> Or for shell scripting rather kern.geom.conftxt. I think conftxt is useless for this purpose. Try this: % sysctl -b kern.geom.confxml -- WBR, Andrey V. Elsukov