On Mon, Jun 4, 2012 at 7:37 AM, Ilya Chernykh <anixxsus@gmail.com> wrote:
On Sunday 03 June 2012 22:58:49 Mark Goldstein wrote:
Always use "sync" on removable devices otherwise you are risking to loose data if the device is removed. Not if you unmount it before removing, as far as I know.
And you would have to wait before it is unmounted. In case of sync you can unmount quickly.
Sure... but in this case I would definitely prefer to write quickly and to unmount slowly.
When this disk is mounted with sync, writing to it is unacceptably slow (20-30 kB/sec, > 4 hours for 500 MB file). Without sync option it is ~40MB/sec.
Without sync option it is not writing into disk, it is just writing into a memory buffer.
As far as I know, until the buffer is filled (normally up to some extent or "watermark"), then it is synced automatically. This is how caching worked in old days, at least.
In any case, could you please explain where it is defined? There is no explicit rule in udev, at least I could not find it. I understood that kded module is involved, but do not know the details. Is there any configuration I could change, or is it kind of "hard-coded"?
/opt/kde3/share/config/udisks-glue.conf
Yep, was just going to write that I've found it already. Thanks a lot! Regards, -- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org