From owner-freebsd-current@FreeBSD.ORG Sat Jul 31 16:58:03 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 C2A4416A4CE for ; Sat, 31 Jul 2004 16:58:03 +0000 (GMT) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 865BC43D54 for ; Sat, 31 Jul 2004 16:58:03 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id C2F8A3EAD; Sat, 31 Jul 2004 18:57:50 +0200 (CEST) Received: from kamino.rfc1149.org (dsl-213-023-208-041.arcor-ip.net [213.23.208.41]) by coruscant.rfc1149.org (Postfix) with ESMTP id 7DABA3CD0; Sat, 31 Jul 2004 18:57:48 +0200 (CEST) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 42BCD4088; Sat, 31 Jul 2004 18:57:45 +0200 (CEST) To: Maxim Sobolev In-Reply-To: <410BBB74.9010804@portaone.com> (Maxim Sobolev's message of "Sat, 31 Jul 2004 18:32:04 +0300") References: <62768.1091287144@critter.freebsd.dk> <410BBB74.9010804@portaone.com> From: Arne Schwabe Date: Sat, 31 Jul 2004 18:57:45 +0200 Message-ID: <864qnoyv06.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.8 required=5.0 tests=BAYES_00,RCVD_IN_SORBS autolearn=no version=2.60 X-Spam-Level: cc: Poul-Henning Kamp cc: current@freebsd.org 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: Sat, 31 Jul 2004 16:58:03 -0000 Maxim Sobolev writes: > Poul-Henning Kamp wrote: > >> In message <410BB699.3060803@portaone.com>, Maxim Sobolev writes: >> >>>Hi Poul, >>> >>> I use application that detects size of disk using binary search. On >>> current each attempt to read beyond disk boundary causes message on >>> console, which is annoying. Can you please turn them off, since >>> apparently they serve no meaningful purpose. >> Why don't you just use ioctl(DIOC_MEDIASIZE) ? >> or the diskinfo(8) program ? > > It is python program, so that ioctl() is out of question. Usage of Hm python has ioctl support, where is the problem? Arne > diskinfo is possible but is not portable across different unices.