Date: Sat, 06 Jan 2001 13:33:04 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Martin Str|mberg Message-Id: <1190-Sat06Jan2001133304+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp-workers AT delorie DOT com, ceo AT nbensacomputers DOT com In-reply-to: <200101051844.TAA15180@father.ludd.luth.se> (message from Martin Str|mberg on Fri, 5 Jan 2001 19:44:26 +0100 (MET)) Subject: Re: Fw: Patch for statfs.c References: <200101051844 DOT TAA15180 AT father DOT ludd DOT luth DOT se> 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 > From: Martin Str|mberg > Date: Fri, 5 Jan 2001 19:44:26 +0100 (MET) > > In statfs.c there is this text: > /* For a CD-ROM drive, Int 21h/AX=3600h gives incorrect info. > Use CD-ROM-specific calls if they are available. > > Int 2Fh/AX=1510h gives us a way of doing IOCTL with the > CD-ROM device driver without knowing the name of the > device (which is defined by the CONFIG.SYS line that > installs the driver and can therefore be arbitrary). */ > > So I ask the list on which platforms does Int 21h/AX=3600h give > incorrect info? It gives incorrect values for CDs on _all_ platforms. It always returns 128MB, which is wrong for most CDs. I think we should not use anything but CD-specific calls for CDs. I don't know what to do with DVDs. Does RBIL say something about them?