Mail Archives: djgpp-workers/2002/10/14/11:15:48
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 -