Udevil/en

udevil is Article description::a small auto-mount utility created to be a "a hassle-free replacement for ." It can be used with or without, ConsoleKit, policykit, , udisks, , and.

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 in that will force event polling for each device:

Be sure to make the script executable:

Emerge
Install :

Global
'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 desired user name.

devmon
A configuration file called is also installed in the.



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

Systemd
To start as a :

Replace  with the appropriate user name.

Troubleshooting
To avoid a permission denied error while trying to invoke, ensure the user belongs to the setuid executable's group, which is most likely.

External resources

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