Skip to contentSkip to conversation

Sync option destroys flash!

DISCUSSION Robert Hancock 1 participant 1 message May 14, 2005 4 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 3 lines · Lennart Sorensen

Well perhaps what windows does is write the hole file, then update the fat, then call sync immediately afterwards, or whenever a file is closed, it calls sync on that file's information.

Probably something like that.. Windows does default to disabling write caching on removable drives, to prevent data loss if a device is removed without being stopped first, but I think it's quite a bit less aggressive about updating the FAT than the original poster's description suggests Linux is doing with the sync option (i.e. only updating after each user-level write call or something).

Signature · 3 lines
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/