Udevil

Udevil is a small auto-mount utility created to be a "a hassle-free replacement for udisks." It can be used with or without without systemd, ConsoleKit, policykit, dbus, udisks, gvfs and FUSE.

Kernel
Kernel eventpolling may need to be enabled for device media to be properly detected by the kernel:

After enabling eventpolling confirm operation by running:

If either command returns 0 or -1 then there will be issues detecting device media. Create a small script that will force event polling for each device:

Be sure to make the script executable:

Emerge
Install Udevil:

Global
Udevil's operation can be configured using the global configuration file:



Local
According to official documentation it is possible to configure auto-mount permissions on an individual basis by creating an configuration file in this following format:



Where  is replaced by the user's user name.

devmon
A configuration file called is also installed in the.



OpenRC
Udevil can be configured to operate as a daemon by calling the devmon command. It is possible to run this command in the background by calling it as a job using the ampersand. Users can add the following line to their file which will start devmon as a daemon each time the system boots:

Systemd
To start devmon as a systemd service:

External resources

 * https://igurublog.wordpress.com/downloads/script-devmon/ - A page describing devmon, an auto-mounting daemon that is now distributed with Udevil. This link may be helpful for reference purposes.