autofs.udisks man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

AUTOFS.UDISKS(5)					      AUTOFS.UDISKS(5)

NAME
       autofs.udisks - autofs configuration for local removable devices

DESCRIPTION
       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 mod‐
       ule pam_ck_connector(8).

       To use the automount udisks module an entry in the Master Map auto.mas‐
       ter(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">
	   <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  attribute
	      enable="true"|"false"   which  allows  disabling	the  automount
	      udisks module without removing the module its self.

       <MountOptions>
	      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.

       <Common>
	      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	 fall‐
	      back for file systems not specified in the configuration file.

SEE ALSO
       auto.master(5), udisks-daemon(8)

AUTHOR
       This manual page was written by Werner Fink <werner@suse.com>.

				  22 Aug 2012		      AUTOFS.UDISKS(5)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net