BIND segway -> python -> first-class ports
Daniel O'Connor
doconnor at gsoft.com.au
Wed Dec 11 23:11:27 UTC 2013
On 12 Dec 2013, at 9:39, Darren Pilgrim <list_freebsd at 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 at 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.
--
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
More information about the freebsd-stable
mailing list