From: Martin Str|mberg 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: from "Eli Zaretskii" at Mar 07, 2001 09:41:48 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Precedence: bulk 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