autofs.udisks − autofs configuration for local removable devices


The automount udisks module is 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). 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 autofs.udisks 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.

An example of this file is:

<?xml version="1.0" ?>
<AutofsUdisks enable="true">
<DiskById value="usb−USB_Flash_Disk_XXXXXXXXXXXX−0:0−part1">
<DiskByLabel value="MyPersonal−DVD−x86_64XXXX">
<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>

The entries of such a XML configuration file are

as the outer envelop. This level has exactly one attribute enable="true"|"false" which allows disabling the automount udisks module without removing the module its self.


is the only known entry below which is used to list the possible mount options, compare with mount(8) as well as the variable substitutions mentioned in the manual page autofs(5) for the format of the automounter maps.

There are four possible entries below <MountOptions> to help the the automount udisks module to generate the automounter map.

is the entry which provides mount options applied to nearly all generated maps. This entry will be overwritten by the next entry.

<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 the blkid(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.


auto.master(5), udisks−daemon(8)


This manual page was written by Werner Fink <>.


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.