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?

2
  • 1
    Which desktop environment? – Gilles 'SO- stop being evil' Nov 18 '13 at 21:52
  • There is an open issue 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 4:42
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

1
  • 2
    udisks is deprecated, can you please update your answer for udisks2 ? – Edward Torvalds Mar 10 '19 at 6:30
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy