RE: Cloning Ipaqs - Thankyou and Doc suggestion

From: Hicks, Jamey (Jamey.Hicks@compaq.com)
Date: Thu Mar 21 2002 - 08:12:18 EST


Mark,

> The directory looks empty as reported by 'vfat mount', so I
> did ls, and got the following.
> boot> vfat ls
> vfat_list_dir_entries: attr=00000000
> skipping long entries

I noticed this happening yesterday. It was caused by renamed or deleted files. I was looking at the attribute field to determine if the entry is valid, but need to use the first character of the name instead. yuk. I'm working on that as well as fixing up long filenames.
 
> You said FAT12 (ugh) , do you think that would do it instead
> of FAT16 ?

The bootldr determines FAT type from the number of clusters in the filesystem, exactly as specified by Microsoft.
  fat12 < 4085 clusters
  fat16 < 65535 clusters
  fat32 otherwise
I do not have a way to override this at the moment.

Now that I have implemented fat12, I see it's no worse than the other two.

Anyway, when you do 'vfat mount 0', what does it report as the fat_type and n_clusters?

Jamey



This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:03 EST