From: ams AT ludd DOT luth DOT se (Martin Str|mberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: available space on fat32 fs Date: 2 Jun 1999 16:57:06 GMT Organization: University of Lulea, Sweden Lines: 28 Message-ID: <7j3np2$9fv$2@news.luth.se> References: NNTP-Posting-Host: queeg.ludd.luth.se X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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 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