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
?
Asked
Active
Viewed 1.4k times
10
2 Answers
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
- 82,805
-
2udisks is deprecated, can you please update your answer for udisks2 ? – Alex Jones Mar 10 '19 at 06:30
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
-
I currently use Ubuntu 18 which uses udisks2 2.7, can I set default mount options there? – Luis Ayuso Oct 24 '22 at 14:44
/etc/fstab
manually (udisks will read it). – Eddy Xiao Oct 25 '19 at 04:42