Gene said:
I have apparently played by the rules, and it still does not work
quite as it should. The same USB drive occasionally gets a
scan-for-errors prompt when mounted on my Windows 7 system. I do
dislike extraneous prompts.
Could I have a slightly wonky USB drive or port? These problems
are minor, but I do not think that they should be happening. The
drive works fine otherwise (as far as I know, of course).
Sincerely,
Gene Wirchenko
The same website has an answer. (First I tried Googling a bit,
and was getting nowhere, so just for kicks I opened up this bookmark
and searched on "scan", and there is was.)
http://www.uwe-sieber.de/usbtrouble_e.html
"Scan and fix under Vista and Windows 7
When a FAT formatted "removable" USB drive is attached then under
Vista and Win7 the "Scan and Fix" dialog is often shown.
This happens when a certain bit in the drive's boot sector is set.
It is found in a value with the very meaningful name "BS_Reserved1",
see Microsoft's FAT32 File System Specification: fatgen103.doc.
As far as I have discovered, Windows sets the bit whenever a
file size is changed and when a file is created or deleted.
Here is my dirty bit watch tool: WatchFatDirtyBit.zip.
It is set back to 0 about 1.5 Seconds after a file size change
but very long 30 Seconds after a file was deleted or created without
writing data (which does no happen in real live). Having a write cache
active or not seems to have no effect on the dirty bit handling.
So, if you delete a file on a FAT formatted USB drive and remove
it within 30 Seconds then you have set dirty bit. Just always use
"Eject" or the "Safely remove hardware" facility, this flushes all
data and sets the bit back to null."
It's an interesting theory, and something you can test out. I've
*never* had a Scan and Fix on my Windows 7 laptop, and have had a
1GB and 8GB USB key doing file transfers back and forth between
the laptop and my main computer (the one I'm typing on). And I've
had FAT32, FAT16, and NTFS file systems on the sticks. Must
be born lucky, or there is some other contributing factor to this
puzzle. I always use the Safely Remove icon at the
bottom of the screen (or inside the icon storage thing in
Windows 7).
Paul