Re: GEOM is too verbose

From: Maxim Sobolev <sobomax_at_portaone.com>
Date: Sat, 31 Jul 2004 20:15:40 +0300
Arne Schwabe wrote:

> Maxim Sobolev <sobomax_at_portaone.com> writes:
> 
> 
>>Poul-Henning Kamp wrote:
>>
>>
>>>In message <410BB699.3060803_at_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?

Really? Anyway, I doubt that name of this ioctl is the same on the 
different unices, so that binary search is still the best from the 
portability POV.

-Maxim
Received on Sat Jul 31 2004 - 15:16:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC