Ubuntu – Is setting default mount options for udisks really not possible


I want to mount usb drives with option flush (or sync).

I'm using Kubuntu 10.10 and as far as I understood udisks is responsible for the mount options. I've read various threads and two solutions are proposed:

  1. edit fstab for every usb drive,
  2. change default options in drives.c of the udisks package.

Is there really no decent way?

Best Answer

I think there isn't.

But you can try a workaround: using udev rules to override the udisks options by creating your own /etc/udev/rules.d/*.rules file; for details see this great Archlinux site.

Related Question