Hi all, Geraldo sent some FAT32 formatting logs (thanks!!),
but I do not really get the magic here:

http://www.coli.uni-sb.de/~eric/stuff/soft/specials/format-fat32-logs-geraldo.tar.gz
(6k)

The test system has a single FAT32 partition on the test disk. For
formatting, either FreeDOS 2035-32 or Win98 DOS (MS DOS 7.10) were
used as kernel, and either FreeDOS FORMAT 0.91o or MS DOS 7.10 FORMAT
were used for formatting. The filesystem was then checked with the
BOOTFIX 1.4 tool by Arkady.

Differences in MS FORMAT output depending on kernel: FreeDOS versus MS ->
  6106.54 MB total, 0.01 MB broken versus 6106.52 MB total, 0 broken
  1563271 versus 1563268 units, S/N 240D-14FE versus 0E30-14EA

Differences in FreeDOS FORMAT /D output depending on kernel ->
  Test-reading errors 810c, 020c versus 7, 7 (FAT1x mode, FAT32 mode)
    <-- why do sector read error codes differ?
  MS: Had to zap FAT1x 12225 sec/fat and 512 root dir entries BPB info
  MS: Had to init root dir position. No backup / FSinfo sectors used!
    <-- FreeDOS FORMAT already has workarounds for those odd default BPB
        values in MS kernel, but should probably override "no backup/info"!?
  FATs at 32-24459 versus 24481 (FAT 2 at 12246 / 12257)
  Root dir at 24460-24491 versus 24482-24513
  6,253,072 versus 6,253,060 kBy, 1,563,268 versus 1,563,265 clusters
  S/N 1135-1505 versus 215D-14EF

Differences in BOOTFIX results after using MS FORMAT, running BOOTFIX
under the same kernel as FORMAT, comparison MS kernel versus FreeDOS kernel ->
  Default FAT size 12225 versus 12214, S/N 0E3014EA versus 240D14FE
  DWords at [24] and [44] differ.

Differences in BOOTFIX results after using FreeDOS FORMAT, running BOOTFIX
under the same kernel as FORMAT, comparison MS kernel versus FreeDOS kernel ->
  Default FAT size 12225 versus 12214, default root cluster 0 versus 2
    <-- no news yet
  Default Info / Backup -1 / -1 versus 1 / 6.
    <-- see above
  Strange: BOOTFIX only shows current BPB for MS kernel, even though it seems
  to be identical to the default BPB. For FreeDOS, only default BPB is shown!?
  Boot sector BPB is as default/current but has root cluster fixed...!
    <-- VERY strange! MS kernel IGNORES the boot sector BPB and uses root
        directory starting cluster ZERO (invalid value) as current value.
        Either there is some current / default bug in BOOTFIX or ...???
  S/N 215D14EF versus 11351505
  DWords at [24] and [44] differ, and words at [30] and [32].

Any ideas? Why does Windows end up using the WRONG cluster for the root
directory after you use FreeDOS FORMAT in MS kernel? All other FreeDOS / MS
combinations seem to be okay (not sure what DOSFSCK / MS SCANDISK would say!).
Would it make a difference to force backup boot sector / fsinfo sector to
enabled (at sector numbers 6 and 1 respectively) although MS kernel does not
suggest that in the default BPB? And WHY would that influence the root
directory cluster number processing??? The -1 values for fsinfo / backup boot
sector numbers are supposed to be perfectly okay and have the meaning "none"
(in other words "feature disabled").

If you do have a Windows with FAT32 support around, please try to find out
more. Thanks in advance.

PS: What if... FreeDOS kernel, run FreeDOS format, boot Windows, run SCANDISK
... -> fsinfo / backup values will be set to 1 / 6 respectively. If SCANDISK
is happy now - even after using the disk in FreeDOS and Windows - then this
would mean that the fsinfo / backup values were the problem. Otherwise, it
might be that the ser.no. or the boot sector program would make a difference!
In the latter case, using MS SYS would probably make SCANDISK happy!?

Eric



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to