From: Martin Stromberg Message-Id: <200111290832.JAA06814@lws256.lu.erisoft.se> Subject: Re: statfs not returning correct cluster size - 7302h and GNU df don't work either To: djgpp-workers AT delorie DOT com Date: Thu, 29 Nov 2001 09:32:10 +0100 (MET) Cc: dennis-louie AT att DOT net In-Reply-To: <002701c17889$185c9d60$0100a8c0@pentiumii> from "Dennis Louie" at Nov 28, 2001 07:50:44 PM X-Mailer: ELM [version 2.5 PL3] 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 Dennis said: > There must be a DOS function that can be made to return this information > correctly. Windows XP can determine the correct disk size and available Sure (if it exists). All you have to do is to find it and tell us about it. (Good luck!) > The current statfs code doesn't even try to use Functions 7302h or 7303h. > _osmajor is 5 for WinXP and the conditional only tries to execute those > functions if it's between 7 and 10 (whatever Windows versions they > correspond to). Whoever wrote that code must have some information about > INT21 functions that isn't widely known (yet)... All I know about DOS Functions 0x7302 and 0x7302 won't help as they aren't supported on NT (according to other mails recently). Right, MartinS