Mail Archives: djgpp/1999/06/03/16:36:07
Jesper Ødum Nielsen (jni AT cpk DOT auc DOT dk) wrote:
: I need to know the size of the free space on a fat32 drive, but the
: current _dos_getdiskfree() or statfs() cannot report sizes larger than
: 2GB.
:
: Eli Zaretskii has previously answered in a posting that __dpmi_int()
: can be used to obtain the relevant information from DOS. With no luck
: I searched Ralph Brown's interrupt list for a useful function. Even
: if I find one, I'm not quite sure how to use it. So some hints are
: welcome if you know how to do this.
Three possible solutions:
1. Wait for the release of libc version 2.04, which I hope will
contain my patches for more FAT32 support. Not recommended as we
don't know when that'll happen.
2. Search the mail archives of djgpp-workers at
<http://www.delorie.com> for FAT32. You'll find my patch(es)
mentioned in 1.
3. Look closer at RBIL INT21/AX=0x7302, which my patch(es) in 1. and
2. uses.
Bay Laurel, Under a Clouded Sky,
MartinS
- Raw text -