Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 15:50:03 -0800
From:      Darren Pilgrim <list_freebsd@bluerosetech.com>
To:        Daniel O'Connor <doconnor@gsoft.com.au>
Cc:        "freebsd-stable@freebsd.org Stable" <freebsd-stable@freebsd.org>
Subject:   Re: BIND segway -> python -> first-class ports
Message-ID:  <52A8FA2B.2020902@bluerosetech.com>
In-Reply-To: <62C65AF2-B68A-4898-9FBB-237DDE622758@gsoft.com.au>
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> <62C65AF2-B68A-4898-9FBB-237DDE622758@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/11/2013 3:11 PM, Daniel O'Connor wrote:
>
> 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.
>>>>
>>>> Have you seen the kern.geom.conf* sysctls?
>>>
>>> Have you tried parsing them from a shell script? :)
>>
>> Yes, actually.  kern.geom.conftxt is particularly easy to
>> parse--it's already a set of space-separated fields, one line per
>> device.
>>
>
> 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.

Well, yes, but you'll also get a /dev/gpt device entry with a space in 
it--a slightly more serious problem. :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52A8FA2B.2020902>