From: Mark G. Lewis (Lewis@erg.sri.com)
Date: Thu Mar 21 2002 - 11:58:13 EST
Jamey,
n_clusters=0000F2D8
fat_type=00000002
I freshly formatted and wrote the single file onto the CF using a WinXP-Pro desktop, so it should be Microsoft compliant. After getting the above from the bootldr, I went back to the XP desktop, and the CF and file look fine. The file name is 'root76.jf2' Below is the complete
output from vfat mount 0. I don't see the file name in the dump, yet the 'vfat read' command claims to find the file. But when I use the Microdrive the filename does appear in the dump from vfat mount 0. Looks like FAT16 is indicated by the n_clusters, which agrees to the way
it was formatted.
boot> vfat read 0xc2000000 root76.jf2
vfat_find_file_entry: fname='root76.jf2'
dirname=''
basename='root76.jf2'
looking for file entry in root_dir_entries:
got file entry rc=00000002
rc=FFFFFFFE
boot>
Mark Lewis
"Hicks, Jamey" wrote:
> Anyway, when you do 'vfat mount 0', what does it report as the fat_type and n_clusters?
>
> Jamey
boot> vfat mount 0
cmd vfat mount: partid=00000000
vfat mount: reading bpb_info
C1A390B4: EB 3C 90 4D 53 44 4F 53-35 2E 30 00 02 01 02 00 | .<.MSDOS5.0.....
C1A390C4: 02 00 02 E0 F4 F8 F3 00-3F 00 FF 00 20 00 00 00 | ........?... ...
C1A390D4: 00 00 00 00 00 00 29 9B-70 44 F0 4E 4F 20 4E 41 | ......).pD.NO NA
C1A390E4: 4D 45 20 20 20 20 46 41-54 31 36 20 20 20 33 C9 | ME FAT16 3.
C1A390F4: 8E D1 BC F0 7B 8E D9 B8-00 20 8E C0 FC BD 00 7C | ....{.... .....|
C1A39104: 38 4E 24 7D 24 8B C1 99-E8 3C 01 72 | 8N$}$....<.r
oemname=MSDOS5.0
sectors_per_cluster=00000001
n_reserved_sectors=00000002
n_root_entries=00000200
root_dir_sectors=00000020
first_root_dir_sector=000001E8
fat_size=000000F3
fat_size_bytes=0001E600
n_fats=00000002
total_sectors=0000F4E0
n_data_sectors=0000F2D8
first_data_sector=00000208
n_clusters=0000F2D8
fat_type=00000002
root_dir_entries:
C1A3A140: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3A150: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3A160: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3A170: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3A180: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3A190: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3A1A0: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3A1B0: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3A1C0: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3A1D0: 00 00 00 00 00 00 | ......
fat:
C1A3E154: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3E164: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3E174: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3E184: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
first data:
C1A3912C: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3913C: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3914C: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
C1A3915C: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 | ................
cmd vfat mount: listing the root directory
vfat_list_dir_entries: attr=00000000
skipping long entries
boot>
This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:03 EST