From owner-freebsd-stable@FreeBSD.ORG Wed Dec 11 23:09:36 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8C06F8B for ; Wed, 11 Dec 2013 23:09:36 +0000 (UTC) Received: from yoshi.bluerosetech.com (yoshi.bluerosetech.com [IPv6:2607:f2f8:a450::66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9AA721217 for ; Wed, 11 Dec 2013 23:09:36 +0000 (UTC) Received: from chombo.houseloki.net (c-71-236-222-167.hsd1.wa.comcast.net [71.236.222.167]) by yoshi.bluerosetech.com (Postfix) with ESMTPSA id 98903E622B; Wed, 11 Dec 2013 15:09:32 -0800 (PST) Received: from [IPv6:2601:7:1680:cf0:71da:c451:e6df:6090] (unknown [IPv6:2601:7:1680:cf0:71da:c451:e6df:6090]) by chombo.houseloki.net (Postfix) with ESMTPSA id 57738EDD; Wed, 11 Dec 2013 15:09:31 -0800 (PST) Message-ID: <52A8F0B7.1080109@bluerosetech.com> Date: Wed, 11 Dec 2013 15:09:43 -0800 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Daniel O'Connor Subject: Re: BIND segway -> python -> first-class ports References: <20131210023615.GR55638@funkthat.com> <52A68141.6010003@mu.org> <622122.74675.bm@smtp120.sbc.mail.gq1.yahoo.com> <20131210224915.GA55638@funkthat.com> <52A82099.9080100@bluerosetech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-stable@freebsd.org Stable" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 23:09:36 -0000 On 12/11/2013 2:45 AM, Daniel O'Connor wrote: > On 11 Dec 2013, at 18:51, Darren Pilgrim 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.