Date: Thu, 8 Sep 2011 18:57:18 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-geom@freebsd.org Subject: Re: Is here any way for shell script to understand, is GEOM consumed or not? Message-ID: <627749234.20110908185718@serebryakov.spb.ru> In-Reply-To: <j4ab4q$8cq$1@dough.gmane.org> References: <1451397574.20110908132404@serebryakov.spb.ru> <261371084.20110908132956@serebryakov.spb.ru> <4E688D78.7080902@yandex.ru> <j4ab4q$8cq$1@dough.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Ivan. You wrote 8 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2011 =D0=B3., = 16:06:50: >> You can try parse sysctl kern.geom.confxml > Or for shell scripting rather kern.geom.conftxt. % sysctl kern.geom.conftxt % sysctl kern.geom.confxml % su Password: blob# sysctl kern.geom.conftxt blob# sysctl kern.geom.confxml blob# exit % uname -orsp FreeBSD 8.2-STABLE amd64 % --=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?627749234.20110908185718>