Date: Sun, 24 Dec 2000 08:35:16 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Norberto Alfredo Bensa cc: DJGPP Subject: Re: getdfree on FAT32? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 23 Dec 2000, Norberto Alfredo Bensa wrote: > struct statfs fs; > statfs ("", &fs); > > free = fs.f_bfree * fs.f_bsize; > > reports 5,905,580,032 bytes free, while Windows says 5,924,487,168. What is > wrong here? Probably, Windows itself. Is the Windows swap file located on this volume? If so, what's its size? Also, what happens if you run the same program on the same machine, but in plain DOS mode (i.e., boot to command prompt only)?