delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/08/02:08:43

Date: Mon, 8 Jan 2001 09:05:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Peter J. Farley III" <pjfarley AT banet DOT net>
cc: djgpp-workers AT delorie DOT com, Martin Str|mberg <ams AT ludd DOT luth DOT se>
Subject: Re: Fw: Patch for statfs.c
In-Reply-To: <5.0.2.1.0.20010107141953.00a79210@pop5.banet.net>
Message-ID: <Pine.SUN.3.91.1010108090225.4690G-100000@is>
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

On Sun, 7 Jan 2001, Peter J. Farley III wrote:

> At 08:03 PM 1/7/01 +0100, Martin Str|mberg wrote:
> <Snipped>
>  >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.

- Raw text -


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