From owner-freebsd-current@FreeBSD.ORG Sat Jul 31 17:16:08 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 3EB1816A4CE for ; Sat, 31 Jul 2004 17:16:08 +0000 (GMT) Received: from web.portaone.com (web.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4830943D46 for ; Sat, 31 Jul 2004 17:16:07 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.20] (portacare.portaone.com [195.140.247.242]) (authenticated bits=0) by web.portaone.com (8.12.8p2/8.12.8) with ESMTP id i6VHFrWq028262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 31 Jul 2004 19:15:54 +0200 (CEST) (envelope-from sobomax@portaone.com) Message-ID: <410BD3B2.4080506@portaone.com> Date: Sat, 31 Jul 2004 20:15:30 +0300 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <64021.1091291879@critter.freebsd.dk> In-Reply-To: <64021.1091291879@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 17:16:08 -0000 Poul-Henning Kamp wrote: > In message <410BBB74.9010804@portaone.com>, 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 >>diskinfo is possible but is not portable across different unices. > > > sigh... yeah, we should have fixed that 30 years ago. > > Anyway, the message is intentional because you really have a bug > when you try to read past the end of a disk. Typically this means > that a filesystem has lost its marbles. IMO it should be conditional on DEBUG, because it is not something that happens during normal operation. -Maxim