Date: Sat, 31 Jul 2004 18:57:45 +0200 From: Arne Schwabe <arne@rfc2549.org> To: Maxim Sobolev <sobomax@portaone.com> Cc: current@freebsd.org Subject: Re: GEOM is too verbose Message-ID: <864qnoyv06.fsf@kamino.rfc1149.org> In-Reply-To: <410BBB74.9010804@portaone.com> (Maxim Sobolev's message of "Sat, 31 Jul 2004 18:32:04 %2B0300") References: <62768.1091287144@critter.freebsd.dk> <410BBB74.9010804@portaone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Sobolev <sobomax@portaone.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864qnoyv06.fsf>