How to set flush option for USB drives under KDE

You might have noticed long unmount times while using KDE. This is because the drives are mounted without the flush option, which causes part of the data to be written during unmount.

This is done for quicker access and better performance, but makes unmounting a really painful operation.

In my experience it is desirable to mount drives with the flush option.

One way to do this is to add a line to your /etc/fstab containing

/dev/sd*1 /media/pendrive vfat rw,noatime,umask=000,utf8,uid=500,shortname=mixed,flush,noauto,users,exec,suid,dev 0 0

where sd*1 should be corrected with the first available drive letter, usually b if you have a single internal HDD in your machine, or c if you have two.

This is an ugly workaround that only works for the first drive you connect, you use two at the same time the second one will not use flush.

Hope it will be fixed in KDE soon!

Let me know if it works for you!


Leave a comment

Filed under gnu/linux, kde, Senza Categoria, ugly workaround

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s