Subject: Re: msdosfs-changes
To: None <port-atari@NetBSD.ORG>
From: Waldi Ravens <waldi@moacs.indiv.nl.net>
List: port-atari
Date: 01/24/1996 03:27:58
Hi Leo,

> The previous code did indeed allow you to mount a 'real' msdosfs file system
> in nearly all cases. I was however thinking about the vnd-case. I am not
> 100% convinced that the detection of the fat-size will work in _all_ cases.
> Now that the special gemdos handling functionality can be turned on/off from
> the user-level, I think we're just a bit more on the save side ;-)

Be carefull, the test for 12/16 bit FAT in the MS-DOS part of
the driver is wrong. The total number of clusters on a 12 bit
FAT fs cannot exceed (0xff0 - 2). Used FAT entries must be in
the range 2..0xfef, 0 indicates a free cluster, 1 is impossi-
ble, 0xff0..0xff7 indicate a bad cluster and 0xff8..0xfff
indicate end of file (Microsoft's specs).


Waldi