Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2013 09:41:15 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Darren Pilgrim <list_freebsd@bluerosetech.com>
Cc:        "freebsd-stable@freebsd.org Stable" <freebsd-stable@freebsd.org>
Subject:   Re: BIND segway -> python -> first-class ports
Message-ID:  <62C65AF2-B68A-4898-9FBB-237DDE622758@gsoft.com.au>
In-Reply-To: <52A8F0B7.1080109@bluerosetech.com>
References:  <20131210023615.GR55638@funkthat.com> <52A68141.6010003@mu.org> <622122.74675.bm@smtp120.sbc.mail.gq1.yahoo.com> <20131210224915.GA55638@funkthat.com> <CAN6yY1tSqbrkt5bkjhDW6npT4PAXmMck0Xco%2BERwBE=wkkBDBQ@mail.gmail.com> <52A82099.9080100@bluerosetech.com> <B62F85D0-89E6-4FF8-ADE4-5025FB360462@gsoft.com.au> <52A8F0B7.1080109@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12 Dec 2013, at 9:39, Darren Pilgrim <list_freebsd@bluerosetech.com> =
wrote:

> On 12/11/2013 2:45 AM, Daniel O'Connor wrote:
>> On 11 Dec 2013, at 18:51, Darren Pilgrim =
<list_freebsd@bluerosetech.com> wrote:
>>> On 12/10/2013 9:34 PM, Kevin Oberman wrote:
>>>> A parseable output from gpart would be wonderful.
>>>=20
>>> Have you seen the kern.geom.conf* sysctls?
>>=20
>> Have you tried parsing them from a shell script? :)
>=20
> Yes, actually.  kern.geom.conftxt is particularly easy to parse--it's =
already a set of space-separated fields, one line per device.
>=20

Oops, actually I misread that and assumed it was talking about the XML =
version.

However the txt version has some very serious limitations - for example =
if you have labels with whitespace it will be ambiguous.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62C65AF2-B68A-4898-9FBB-237DDE622758>