1

How to setup a conservative sync/journaling method for Flash/USB drives?

view story
linux-howto

http://askubuntu.com – I regularly have the problem that my Linux (Ubuntu 12.04) writes some files to an USB drive that are afterwards missing or broken in Windows. Windows often also tells me that it found problems with the drive. The drive is FAT32 and yes, I always use the small eject icon in Nautilus or simply shutdown the system before removing the drive. To workaround the problem, I now use sudo sync to force any pending writes to execute, hoping that this will avoid these problems in the future. What I am actually looking for is an option that tells my Ubuntu/Linux to perform any pending writes as soon poss (HowTos)