delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/05/23:47:50

Message-ID: <3B4536ED.EAC586B2@alpha.delta.edu>
Date: Thu, 05 Jul 2001 23:56:29 -0400
From: "David Witbrodt" <dawitbro AT alpha DOT delta DOT edu>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en,ja
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Thanks for statfs() rev. 1.6!
References: <200107050333 DOT FAA14607 AT father DOT ludd DOT luth DOT se>
Reply-To: djgpp AT delorie DOT com

Martin Str|mberg wrote:
> > I would like to thank the DJGPP-workers and N. A. Bensa for their
> > attempt to get statfs() [rev. 1.6 on CVS] to read the correct drive
> > space information.  It works -- with a slight discrepancy (less than
> > 2% on my machine), but it's good enough for my current purposes.
> 
> As the intent was to have no discrepancies, I'd like to know more.
> What does statfs() say and how do you verify that?

  By "discrepancy" I meant only that Windows 98 and statfs() do not
report the same amount of free space left on my hard drive's
partition.

  Info source          Free bytes reported
  ===========          ===================
  C:->Properties       4 095 901 696 bytes
  Scandisk             4 095 901 696 bytes

  statfs()             4 026 531 840 bytes

  The discrepancy is 69 369 856 bytes, and I don't claim to have a
clue as to which figure is correct.  Maybe neither.  I assume they're
both in the ballpark, and that is more or less all I am looking for. 
Perfection would be nice, and if I had a machine of my own I might do
some research and experimentation to try to find out what is going
on.  I should have a machine of my own in August, so maybe then....


Thanks again,
Dave W.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019