Mail Archives: djgpp/2000/12/23/21:46:54
Thanks Eli,
I've compiled the alpha sources and put the headers and resulting libs into
an 'alpha' subdir in the DJGPP tree, just in case ;-)
Oh BTW, it worked! (almost)
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?
Best regards,
Norberto
----- Original Message -----
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Subject: Re: getdfree on FAT32?
> > From: "Norberto Alfredo Bensa" <nbensa AT hotmail DOT com>
> > Date: Sat, 23 Dec 2000 03:42:43 -0300
> >
> > How do I get disk free on FAT32 volumes?
> >
> > I've tried:
> > struct dfree df;
> > getdfree(0,&df);
> >
> > but I get 2GB free on my HD when I know I have >6GB free...(!)
>
> DJGPP v2.03 doesn't support FAT32-specific features yet. This support
> is in the development sources. Download them via the anonymous CVS
> access (http://www.delorie.com/djgpp/cvs.html), if you aren't afraid
> of using alpha-level software.
>
- Raw text -