natevw / fatfs

Standalone FAT16/FAT32 filesystem implementation in JavaScript
47 stars 13 forks source link

Handle redundant FAT tables #5

Open natevw opened 10 years ago

natevw commented 10 years ago

Right now we're only writing to the first FAT table. There are multiple, that we should keep up to date. (Also FAT32 might need more handling for active/inactive ones?)

natevw commented 10 years ago

To be honest, I've been really _dis_inclined to correct this given the performance problems we're already having on Tessel. However, "double bookkeeping" here may not add quite as much overhead as initially thinking, really only an extra read+write or so when expanding/truncating files.

natevw commented 9 years ago

See also https://github.com/natevw/fatfs/issues/19 for another reason (and presumably guide the approach) to do this.