[arch-general] USB Buffering Issue

Paul Gideon Dann pdgiddie at gmail.com
Fri Dec 2 09:44:11 EST 2011


On Friday 02 Dec 2011 16:31:47 Rogutės Sparnuotos wrote:
> There can't be any corruption after a successful unmount.
> 1. Run sudo umount /path/to/mounted/dir; echo returncode=$?
> 2. If you see 'returncode=0' on the last line, continue with 3.
> 3. Remove your USB drive.
> 4. Attach your USB drive.
> 5. If you see data corruption, it's one of:
>    * faulty/misbehaving USB dongle (test with another USB device);
>    * bad filesystem on your USB device (test with a freshly created one);
>    * a bug in Linux kernel (report upstream).

Yeah, umount seems to work correctly.  I misinterpreted the fact that KDE 
reports an immediate unmount, but the device is not actually unmounted yet.  
That's probably a KDE fail.  It's still odd that it used to work OK, though.

> The 'flush' and 'sync' mount options are not needed under normal
> circumstances (as in don't use if you don't know what you are doing).

Well, without sync, I get incorrect progress bars when copying large files, and 
"cp" returns near-instantly.  This happens even with flush.  That doesn't seem 
right to me.  Is that what you normally see?  Maybe my expectations are wrong.

Paul


More information about the arch-general mailing list