From owner-freebsd-current@FreeBSD.ORG Wed Aug 4 10:27:45 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 0E3A116A4CE for ; Wed, 4 Aug 2004 10:27:45 +0000 (GMT) Received: from web.portaone.com (mail.russia.cz [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77D0443D64 for ; Wed, 4 Aug 2004 10:27:44 +0000 (GMT) (envelope-from sobomax@web.portaone.com) Received: from web.portaone.com (localhost [127.0.0.1]) by web.portaone.com (8.12.8p2/8.12.8) with ESMTP id i74ARgqH057581 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Aug 2004 12:27:43 +0200 (CEST) (envelope-from sobomax@web.portaone.com) Received: (from sobomax@localhost) by web.portaone.com (8.12.8p2/8.12.8/Submit) id i74ARgHe057580; Wed, 4 Aug 2004 12:27:42 +0200 (CEST) (envelope-from sobomax) Date: Wed, 4 Aug 2004 12:27:42 +0200 From: Maxim Sobolev To: Arne Schwabe , Poul-Henning Kamp , current@freebsd.org Message-ID: <20040804102742.GC55271@www.portaone.com> References: <62768.1091287144@critter.freebsd.dk> <410BBB74.9010804@portaone.com> <864qnoyv06.fsf@kamino.rfc1149.org> <410BD3BC.9090704@portaone.com> <20040803212227.GW991@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040803212227.GW991@funkthat.com> User-Agent: Mutt/1.4.1i Subject: Re: GEOM is too verbose X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2004 10:27:45 -0000 On Tue, Aug 03, 2004 at 02:22:27PM -0700, John-Mark Gurney wrote: > 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.. Heh, but I have other means to spend my spare time. Rewriting perfectly working code for perfection sake is not one of them. -Maxim > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > >