Mail Archives: djgpp-workers/2001/11/24/09:37:06
> From: "Dennis Louie" <dennis-louie AT att DOT net>
> Date: Fri, 23 Nov 2001 20:44:19 -0800
>
> Is this is the info you wanted?
Yes, thanks.
> The DOS system call is Int 21h, Function 36h, called via
> __dpmi_int(0x21, ®s). AX appears to be returning the wrong
> number of sectors per cluster.
Okay, this is expected, I think: this is Windows XP, where we think
FAT32-aware system calls are not supported. So statfs uses the
legacy DOS function 36h, which simply behaves as if you have the
largest possible disk FAT16 can support.
Can you try to modify statfs.c so that it tries to call the functions
7303h or 7302h, and see if any of them works for you?
> I determined experimentally and via PartitionMagic that the cluster
> size for my C: drive is 1K, so I expect AX to be 2 and CX to be 512,
> but AX is set to 64.
What kind of partion type is that? Is it NTFS or something else?
- Raw text -