GEOM is too verbose
sobomax at portaone.com
Sat Jul 31 08:32:31 PDT 2004
Poul-Henning Kamp wrote:
> In message <410BB699.3060803 at portaone.com>, Maxim Sobolev writes:
>>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.
More information about the freebsd-current