Mounting USB flash disk synchronously

Florian Schroeck fschroeck at aycan.de
Thu Mar 17 09:54:56 UTC 2005


Hi,
i don't know if this is useful at all, just an idea:
create a file, same size as your USB disk (with dd)
mount it as a loop dev
put this and the USB disk in a RAID0 md dev

ehm, i just realized, it's no problem for a flash dev, but i think you 
meant a USB hard disk, don't you? :>

bye
Florian

Krysztof Luks wrote:
> Hi,
> it there a way to make hotplug mount USB disks with sync option? Manual
> for mount says that "the sync option today has effect only for ext2,
> ext3 and ufs" does this mean that vfat disks can't be mounted
> synchronously?
> 
> If so what can I do to prevent data loss when my disk is accidentally
> unplugged while some data is still hasn't been written to it?
> 




More information about the ubuntu-users mailing list