delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/10/14/11:15:48

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3DAADF94.54ED98B8@phekda.freeserve.co.uk>
Date: Mon, 14 Oct 2002 16:15:32 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: RESEND: Re: File UItils at Clio 2.04 Query
References: <200210131209 DOT OAA16897 AT lws256 DOT lu DOT erisoft DOT se>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Martin Stromberg wrote:
> 
> FYI: I tried compiling fileutils 4.1 with CVS libc some months
> ago. This resulted in a df that had very weird ideas about disk
> space.
[snip]

Is there an API for finding out the size of disks greater than 2GB? If not, it
seems to work OK for me:

bash-2.04$ pwd
c:/djgpp.204/gnu/filutil4.1/src
bash-2.04$ ./df -ml
Filesystem           1M-blocks      Used Available Use% Mounted on
HARD DISK                  915       600       315  66% c:/
\\IOLANTHE\DJGPP            63        57         6  91% z:/
bash-2.04$ ./df -kl
Filesystem           1k-blocks      Used Available Use% Mounted on
HARD DISK               936833    613837    322996  66% c:/
\\IOLANTHE\DJGPP         64505     58174      6331  91% z:/

I've put my binary here:

    http://www.phekda.freeserve.co.uk/richdawe/djgpp/fileutils/4.1/djgpp/

It's df-4.1.exe.gz. Martin, I'd be grateful, if you could retest with this
binary. I built it today against a copy of DJGPP CVS checked out yesterday.

Thanks, bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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