Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 2004 17:19:04 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Maxim Sobolev <sobomax@portaone.com>
Cc:        current@freebsd.org
Subject:   Re: GEOM is too verbose 
Message-ID:  <62768.1091287144@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 31 Jul 2004 18:11:21 %2B0300." <410BB699.3060803@portaone.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 ?


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62768.1091287144>