Mail Archives: djgpp-workers/2001/01/14/12:27:43
At 08:45 AM 1/14/01 +0200, Eli Zaretskii wrote:
>On Sat, 13 Jan 2001, Peter J. Farley III wrote:
>> We do indeed have more than two answers --
>>
>> 8/97 df == WinExplorer < Corel Linux 1.2/df v4.1 < statfs.c/AX1510
>>
>> However, we also have this relationship:
>>
>> Total size returned by WinExplorer == AX7303 == 8/97 df
>
>Then what is the quantity you used for the first relationship
above?
>Was it the used space?
No, the *total* space. In the case of this CDROM, the total size shown
by WinExplorer is 333,709,312, which is 325,888 blocks of 1024 size, or
162,944 blocks of 2048 size. The private statfs.c in fil316s.zip and
Martin's newest statfs.c return these values:
O:\src\libc\compat\sys\vfs>statfs97 z:
After AX1510: bsize = 2048, free = 0, blocks = 163276.
Results for `z:':
Total blocks: 163276
Available blocks: 0
Block size: 2048
O:\src\libc\compat\sys\vfs>statfsms z:
After AX1510: bsize = 2048, free = 0, blocks = 163276.
After AX7303: bsize = 32768, free = 0, blocks = 10184.
After AX7303+DVD chk: bsize = 2048, free = 0, blocks = 163276.
Results for `z:':
Total blocks: 163276
Available blocks: 0
Block size: 2048
Note that the return value from AX7303 in Martin's new version gives
the same value as 8/97 df and WinExplorer, when rescaled:
32768 * 10184 == 333,709,312 == 325,888 * 1024 == 162,944 * 2048
>> I'm beginning to suspect that the "intermediate" 8/97 version of df
>> uses AX7303 and not AX1510 to get its results
>
>No, that possibility can be ruled out: no port, let alone library
>function, used FAT32-specific calls until Martin introduced FAT32
>support lately, after v2.03 was released. In particular, `df'
>doesn't support FAT32 in any port of Fileutils 3.16, including the
>latest binaries prepared by Juan, which are now on SimTel.NET.
I was just speculating, since I did not know the history here.
>> If you would privately email me your April 1997 copy of fil316b.zip
>> as an attachment, I will test that one out also to see what results
>> it gives.
>
>Will do (later; I need to get to the machine where it is still in
use).
OK, I will test it when I receive it and report the results.
---------------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org OR
pjfarley AT banet DOT net)
- Raw text -