From owner-freebsd-stable@FreeBSD.ORG Tue Dec 10 22:47:54 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64E55191 for ; Tue, 10 Dec 2013 22:47:54 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3B589179C for ; Tue, 10 Dec 2013 22:47:53 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id rBAMlqjI070198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 10 Dec 2013 14:47:53 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id rBAMlqPU070197; Tue, 10 Dec 2013 14:47:52 -0800 (PST) (envelope-from jmg) Date: Tue, 10 Dec 2013 14:47:52 -0800 From: John-Mark Gurney To: Alfred Perlstein Subject: Re: BIND segway -> python -> first-class ports Message-ID: <20131210224752.GZ55638@funkthat.com> Mail-Followup-To: Alfred Perlstein , Daniel O'Connor , "freebsd-stable@freebsd.org Stable" References: <52A12843.3010204@freebsd.org> <0BFC927B-D72E-4926-BB3D-2C000F310BDD@fisglobal.com> <7271C4C4-7BAB-4DA7-9E10-49D5B2DB8964@mu.org> <52A51438.4090200@bluerosetech.com> <8D54491D-5A1C-4D30-AD48-12336D0726DC@gsoft.com.au> <52A67BE8.9050509@mu.org> <20131210023615.GR55638@funkthat.com> <52A68141.6010003@mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52A68141.6010003@mu.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 10 Dec 2013 14:47:53 -0800 (PST) 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: Tue, 10 Dec 2013 22:47:54 -0000 Alfred Perlstein wrote this message on Mon, Dec 09, 2013 at 18:49 -0800: > > On 12/9/13, 6:36 PM, John-Mark Gurney wrote: > >Alfred Perlstein wrote this message on Mon, Dec 09, 2013 at 18:26 -0800: > >>On 12/9/13, 2:11 PM, Daniel O'Connor wrote: > >>>On 9 Dec 2013, at 22:21, Alfred Perlstein wrote: > >>>>>On Dec 8, 2013, at 9:13 PM, "Daniel O'Connor" > >>>>>wrote: > >>>>> > >>>>>(I don't care if it's JSON, XML or smoke signals just so long as it > >>>>>isn't hideously slow). > >>>>> > >>>>You have described exactly what we are trying to accomplish. Thank you! > >>>OK, great, can you have an implementation by COB Friday? :) > >>> > >>>Although seriously, I do wonder what the best way to implement it would > >>>be. > >>> > >>>I can imagine modifying /bin/sh to have such a feature would be somewhat > >>>controversial.. > >>> > >>A few interesting targets would be sysctl, ifconfig, gpart, disklabel, > >>... any others? > >gpart info is already in XML from sysctl kern.geom.confxml... > > > >And disklabel has been retired and replaced by gpart... > > > XML doesn't work for everyone, and as far as disklabel, wasn't aware it hence the thread, but my point is some of this already exists... > was toast in HEAD, it's still around in 9.2 and we've been doing most of > our development there so oops! well, disklabel aka bsdlabel (to be platform neutral) is still around, but I do not believe it works on disks where one of the partitions are open, while gpart will: bsdlabel: cannot open provider /dev/ada0s2 for writing label: Permission denied bsdlabel: Try to use gpart(8). So, you should be using gpart to be future compatible, and not limit yourself to one type of partitioning scheme.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."