Improve async/sync writing behaviour for removable devices
Bug #20717 reported by
Celso Pinto
This bug report is a duplicate of:
Bug #32643: unmounting of removable drives should show a progress dialog.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.15 (Ubuntu) |
Invalid
|
Medium
|
Martin Pitt |
Bug Description
I noticed that USB Storage devices are mounted without the sync option which
often may result in data loss when using those USB Flash devices (USB pens, USB
sticks, whatever) because the user may not be familiar with the unmount
procedure, which flushes the data into the USB device.
The best solution is to use the sync option while mounting the device, even if
this slows down copying or moving files into the USB device.
I understand that external USB hard-drives also fit into this category so
probably you should perform some kind of check to see if the device isn't an
hard-drive since in that case the sync option doesn't make much sense.
To post a comment you must log in.
This is handled by pmount, and if I recall correctly the FAT filesystem driver
doesn't support "sync".