[ILUG] USB mass storage woes

ger gerdono at eircom.net
Fri Jul 30 19:52:00 IST 2004


Colm

Confused

 From man mount page
sync    All I/O to the file system  should  be  done synchronously.

To me this means that all I/O operations occur at the same time. This 
should improve write speed. There is also an option call async which is the 
opposite. I cannot see how this option in mount will prevent or reduce data 
loss from unexpected disconnections during write operations.

This is different from calling sync command before unmounting the device 
which should always be done.

Regards Ger


t 19:36 29/07/04 +0200, Colm Buckley wrote:
>On 29 Jul 2004, at 19:42, Kae Verens wrote:
>
>>I didn't know this about USB devices (my main experience being removing 
>>info from them - not putting info on them), but I guess they're like 
>>media such as floppies? I haven't looked deeply into it, but it seems to 
>>me that floppy writes are buffered until you unmount them, then written 
>>all in one go.
>
>Under Linux, I almost always mount removeable storage with the "sync" 
>option, as it makes the likelihood of accidental data loss considerably 
>less.  It also makes writes slower.  You pays your money...
>
>         Colm
>
>--
>Colm Buckley / colm at tuatha.org / www.colm.buckley.name / +353 87 2469146




More information about the ILUG mailing list