But if Daniel was stating that removing a sd card on the fly instead of umount is where the issue is caused... this is the exact reason why floppy drives are mounted sync because a typical person doesnt umount mount a floppy before removing it.
Sync will allow a user to remove there sd with out the hassle of umount'in it but yes you will suffer when it comes to write counts on a "write limited" device...
Late
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Just found this text on Microsoft TechNet (and they should know well about their FSs):
FAT32 is more robust than FAT16. FAT32 has the ability to relocate the root directory and use the backup copy of the FAT instead of the default copy. In addition, the boot record on FAT32 drives has been expanded to include a backup of critical data structures. This means that FAT32 volumes are less susceptible to a single point of failure than FAT16 volumes.
It's found here:
[a href=\"http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/core/fncc_fil_blpd.mspx?mfr=true]http://www.microsoft.com/technet/prodtechn...d.mspx?mfr=true[/url]
Well, this is the theory and probably true in Windows.
but is it also true in Linux with the vfat fs driver?
The driver may be old and thus support FAT16 better than FAT32.
Who has experiences or even knowledge?
Regarding the sync mount:
Is sync the default?
in /etc/sdcontrol the line "FATOPTS=..." is commented out, and it even doesn't contain sync or async, so there is no parameter "sync" for the SD card mount command.
When looking at the mout table, there is no mention of "sync".
Also, as InSearchOf says, the mout man page says:
All I/O to the file system should be done synchronously. In case of media with limited number of write cycles (e.g. some flash drives) "sync" may cause life-cycle shortening
so actually from this point of view, sync is not good for flash cards.
However, I would rather be failsafe now than in the future because I expect to exchange my SD card anyway after some time.
Some even have swap on SD and say it works for months without a problem.
So lifeycle is probably not a big issue anymore.
Is there any known value in how mucht "sync" will increase the number of write processes? Probably depends heavily on the kind of usage. But typical usage, i.e. open a file, work on it, save it, will not let "sync" increase write cycles much, would it?
Maybe with a swap file on SD it would. Or with other random access type files.
What's your opinion?
daniel