delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/09/13:38:19

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200103091837.TAA07004@mother.ludd.luth.se>
Subject: Re: djgpp: djgpp/src/libc/compat/sys/vfs/statfs.c
To: djgpp-workers AT delorie DOT com
Date: Fri, 9 Mar 2001 19:37:37 +0100 (MET)
In-Reply-To: <Pine.SUN.3.91.1010307093938.20641M-100000@is> from "Eli Zaretskii" at Mar 07, 2001 09:41:48 AM
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Eli Zaretskii:
> I think we also talked about adding a comment to the docs to the effect 
> that if the DOS box loads a TSR which hooks Int 21h, Windows limits the 
> size info to 2GB, as with FAT16.  I think it's important to mention this.

RCS file: /cvs/djgpp/djgpp/src/libc/compat/sys/vfs/statfs.txh,v
retrieving revision 1.2
diff -p -u -r1.2 statfs.txh
--- statfs.txh  1998/09/27 15:21:12     1.2
+++ statfs.txh  2001/03/09 18:36:08
@@ -28,6 +28,9 @@ struct statfs
 @};
 @end example

+Note that if INT 21 is hooked by a TSR, the total size is limited
+to approximately 2GiB.
+
 @subheading Return Value

 Zero on success, nonzero on failure.


?,

						MartinS

- Raw text -


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