www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/23/21:46:54

X-Originating-IP: [200.42.6.246]
From: "Norberto Alfredo Bensa" <nbensa AT hotmail DOT com>
To: "DJGPP" <djgpp AT delorie DOT com>
References: <OE68NhOiebWhRT7cW2z000014fd AT hotmail DOT com> <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
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: <OE664MoSn03t3Z4d5ht00001619@hotmail.com>
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" <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 -


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