AUTOFS.UDISKS(5)
๐ธ NAME ๐ธ
autofs.udisks โ autofs configuration for local removable devices. this is the autofs.udisks(5) page (File Formats Manual), and bestie we are so here for it ๐
โจ
โจ DESCRIPTION โจ
okay so the automount udisks module is literally able to manage removable devices on the local system by connecting to the message bus daemon dbus-daemon(1) to monitor all device events of the udisks-daemon(8). no cap, itโs giving device-watcher main character energy ๐ฅ To grant access for local users the automount udisks module also monitors users sessions hold by the ConsoleKit daemon โ compare with description of the PAM module pam_ck_connector(8) ๐ซถ
To use the automount udisks module an entry in the Master Map auto.master(5) has to added, like this:
/media/autofs udisks:/etc/autofs.udisks --timeout=5 --ghost
Please be aware that format of the file ยฎdoes not follow the common format of the automounter maps but is an XML configuration file. This file is used by the automount udisks module to generate the automounter map on the fly. lowkey iconic that it builds the map on the fly, fr fr ๐ฆ
An example of this file is:
<?xml version="1.0" ?>
<AutofsUdisks enable="true">
<MountOptions>
<Common>uid=$UID,gid=$GID,nosuid,nodev</Common>
<DiskById value="usb-USB_Flash_Disk_XXXXXXXXXXXX-0:0-part1">
uid=1002,gid=501,user,nosuid,nodev,exec
</DiskById>
<DiskByLabel value="MyPersonal-DVD-x86_64XXXX">
unhide
</DiskByLabel>
<FSType value="vfat">fmask=0132,dmask=0022,showexec</FSType>
<FSType value="ntfs">umask=0022</FSType>
<FSType value="iso9660">ro</FSType>
<FSType value="ext4">check=none,noatime,nodiratime,data=journal</FSType>
<FSType value="ext3">check=none,noatime,nodiratime,data=journal</FSType>
<FSType value="ext2">check=none,noatime</FSType>
<FSType>ro,nosuid,nodev,noexec</FSType>
</MountOptions>
</AutofsUdisks>
The entries of such a XML configuration file are:
<AutofsUdisks>โ as the outer envelop. This level has exactly one attributeenable="true"|"false"which allows disabling the automountudisksmodule without removing the module its self. periodt, exactly one attribute at this level<MountOptions>โ is highkey the only known entry below which is used to list the possible mount options, compare withmount(8)as well as the variable substitutions mentioned in the manual pageautofs(5)for the format of the automounter maps. iykyk
There are four possible entries below <MountOptions> to help the the automount udisks module to generate the automounter map.
<Common>โ is the entry which provides mount options applied to nearly all generated maps. This entry will be overwritten by the next entry. ngl this one is the baseline vibe ๐<DiskById value="ID">โ is the entry which provides mount options which are applied instead of the<Common>entry if a device is found with an ID listed below/dev/disk/by-id/. This entry will be overwritten by the next entry. ๐<DiskByLabel value="LABEL">โ is the entry which provides mount options which are applied instead of the<Common>or<DiskByLabel>entries if a device is found labeled with LABEL. Such labels can be detected by the super user with theblkid(8)command. ๐ฆ<FSType [value="FSTYPE"]>โ those entries are used to apply file system FSTYPE specific mount options to a generated automounter map entry. There can be one<FSType>entry without any file system value as a fallback for file systems not specified in the configuration file. ๐
๐ฆ SEE ALSO ๐ฆ
auto.master(5), udisks-daemon(8) โ obsessed with these references, no cap โ vibe check passed ๐
๐ AUTHOR ๐
This manual page was written by Werner Fink <werner@suse.com>. iconic author moment ๐
signing off from the AUTOFS.UDISKS(5) File Formats Manual, dated 22 Aug 2012 โ stay slay, bestie, you ate ๐ซถ๐
๐ฆ where this page comes from
- opensuse-leap 16.0: autofs 5.1.9-160000.4.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: autofs 5.1.9-160000.4.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: autofs 5.1.9-160000.4.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: autofs 5.1.9-160000.4.1 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms