From owner-freebsd-current@FreeBSD.ORG Tue Aug 3 21:22:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB5F616A4CE for ; Tue, 3 Aug 2004 21:22:35 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFD9B43D2D for ; Tue, 3 Aug 2004 21:22:35 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 2860 invoked from network); 3 Aug 2004 21:22:34 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail1.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 3 Aug 2004 21:22:34 -0000 Received: from hydrogen.funkthat.com (qpszcd@localhost.funkthat.com [127.0.0.1])i73LMWuU040374; Tue, 3 Aug 2004 14:22:33 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i73LMRu6040373; Tue, 3 Aug 2004 14:22:27 -0700 (PDT) Date: Tue, 3 Aug 2004 14:22:27 -0700 From: John-Mark Gurney To: Maxim Sobolev Message-ID: <20040803212227.GW991@funkthat.com> Mail-Followup-To: Maxim Sobolev , Arne Schwabe , Poul-Henning Kamp , current@freebsd.org References: <62768.1091287144@critter.freebsd.dk> <410BBB74.9010804@portaone.com> <864qnoyv06.fsf@kamino.rfc1149.org> <410BD3BC.9090704@portaone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <410BD3BC.9090704@portaone.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 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 cc: Poul-Henning Kamp cc: Arne Schwabe cc: current@freebsd.org Subject: Re: GEOM is too verbose X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 21:22:36 -0000 Maxim Sobolev wrote this message on Sat, Jul 31, 2004 at 20:15 +0300: > >>It is python program, so that ioctl() is out of question. Usage of > > > > > >Hm python has ioctl support, where is the problem? > > Really? Anyway, I doubt that name of this ioctl is the same on the > different unices, so that binary search is still the best from the > portability POV. fcntl.ioctl... it might take some hand expansion of the ioctl macros to get it though... the old pytoh that would generate these couldn't handle FreeBSD's ioctl defines (but this was back in the early 4.x days)... You could always write a simple C program to get the value necessary.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."