A tool to associate udisks events to user-defined actions
udisks-glue [-c config-file] [-f] [-p pidfile] [-s]
udisks-glue [-h]
udisks-glue listens for UDisks DBus events and reacts to them according to the configuration. It can be used to automatically mount removable devices or perform arbitrary actions in response to events related to removable devices.
-c/--config config-file
Use config-file as the configuration file
-f/--foreground
Remain in foreground (don't daemonize)
-h/--help
Display usage information and exit
-p/--pidfile pidfile
Use pidfile file as the pidfile
-s/--session
Enable ConsoleKit session support
A configuration file must exist or udisks-glue will fail to start up. If no configuration file is specified by command line arguments, udisks-glue will look for the following configuration files (in this order):
1.
$HOME/.udisks-glue.conf
2.
$XDG_CONFIG_HOME/udisks-glue/config
3.
/etc/udisks-glue.conf
4.
$DIR/udisks-glue/config for each dir in $XDG_CONFIG_DIRS