Re: fsync() madness
- Date: Mon, 21 Apr 2008 14:11:33 +0200
- From: Stephan Kulow <coolo@xxxxxxx>
- Subject: Re: fsync() madness
Am Montag 21 April 2008 schrieb Esben Mose Hansen:
> On Monday April 21 2008 11:06:07 Allan Sandfeld Jensen wrote:
> > I prefer fsync() in a number of cases. The one time where I appreciate it
> > the most; is when copying files to a USB-device, because I know can
> > unplug the device as soon as KDE copy claims to be done.
>
> I'm pretty sure I saw the kernel devs had or would implement something to
> ensure USB-devices were aggresively flushed, which means you can take the
> stick whether using KDE or some other applications.
You may think about vfat file system, which does flush-on-close since Chris
Mason implemented it somewhen 2006. So a ext3 file system on USB stick will
still be dangerous if not mounted sync (which the KDE mediamanager does by
default, btw).
Greetings, Stephan
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<