[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: device usage problem
From: |
Christian Hopp |
Subject: |
Re: device usage problem |
Date: |
Fri, 4 Jul 2003 18:40:48 +0200 (CEST) |
On Fri, 4 Jul 2003, Martin Pala wrote:
> Hi,
>
> i figured out during tests on solaris, that solaris statfs() returns
> fake blocks recomputed by using "fundamental filesystem block" (1K).
> This gives bad absolute space usage numbers in present device monitoring
> implementation.
>
> I will repair it on weekend, however because of system dependency
> (nearly every OS has different implementation) i though about splitting
> device code in 'process' stuff like manner - i.e. create new directory
> 'device' and appropriate sysdep files. Do you agree?
I wish the device code could be anyhow system independent. But if it is
unavoidable you should split it up.
CHopp
--
Christian Hopp email: address@hidden
Institut für Elektrische Informationstechnik fon: +49-5323-72-2113
TU Clausthal, Leibnizstr. 28, 38678 Clausthal-Zellerf. fax: +49-5323-72-3197
pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/