10

I have quite a bit of removable media (flash drives, external hard drives, etc) that I want to adjust auto mount options for. How does one do this? Is there something similar to /etc/fstab?

  • 1
    Which desktop environment? – Gilles 'SO- stop being evil' Nov 18 '13 at 21:52
  • There is an [open issue](https://bugs.freedesktop.org/show_bug.cgi?id=33461) about this. Basically it says that setting "global" auto mount options is currently not possible. You need to have root privilege and set `/etc/fstab` manually (udisks will read it). – Eddy Xiao Oct 25 '19 at 04:42

2 Answers2

5

In order to specify automount options across any DE you can specify this with udisks configuration: https://wiki.archlinux.org/index.php/Udisks#Udisks

Something such as:

udisks --mount /dev/sda1 --mount-options options

autofs also works: https://wiki.archlinux.org/index.php/Autofs

don_crissti
  • 79,330
  • 30
  • 216
  • 245
1

This functionality is now available in udisks2 since version 2.9.0. See the documentation here for how to configure default and allowed mount options.

jwillikers
  • 121
  • 3