X-Originating-IP: [200.42.6.246] From: "Norberto Alfredo Bensa" To: "DJGPP" References: <8011-Sat23Dec2000104720+0200-eliz AT is DOT elta DOT co DOT il> Subject: Re: getdfree on FAT32? Date: Sat, 23 Dec 2000 23:39:58 -0300 Organization: nBens@ Computers MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: X-OriginalArrivalTime: 24 Dec 2000 02:41:32.0742 (UTC) FILETIME=[06A2CE60:01C06D53] Reply-To: djgpp AT delorie DOT com 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" Subject: Re: getdfree on FAT32? > > From: "Norberto Alfredo Bensa" > > 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. >