Date: Mon, 8 Jan 2001 09:05:38 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Peter J. Farley III" cc: djgpp-workers AT delorie DOT com, Martin Str|mberg Subject: Re: Fw: Patch for statfs.c In-Reply-To: <5.0.2.1.0.20010107141953.00a79210@pop5.banet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 7 Jan 2001, Peter J. Farley III wrote: > At 08:03 PM 1/7/01 +0100, Martin Str|mberg wrote: > > >This is really strange. Both the recently compiled df and df from > >fil316b.zip ought to pick the data from INT21 AX=1510, which ought to > >be the same. > > I can't explain it either. I did some further testing with the cvs > version of ststfs.c and the private version provided in the fil316s.zip > file on simtel, and both report the AX1510 value, which on my system > are wrong (at least, not the same as AX7303). But df from fil316b.zip also uses 2F1510, so how come it gives a different value? Did you try to see what values does the version of statfs in fil316s.zip return? > >The problem is the block size. If you have a CDROM it has block size > >2048 and nothing else. If you see a different block size that is a > >lie. > > Yes, but if the AX7303 values are correct (when re-scaled to 2048-byte > block size), shouldn't those be what we use? We don't have any way of telling if 217303 is correct or not. > But if that is the case, how do we verify which one is correct? Maybe > we should email Ralf Brown and see if he has any recent or unpublished > info on how to distinguish a DVD-ROM from a CR-ROM/RW. You can try. I never managed to get any response from Ralf Brown, even when I reported bugs in RBIL. Perhaps he is too busy, I don't know. I did search the latest RBIL for "DVD" and didn't find anything.