My goal was to set minimal Kodi installation on top of Fedora 25 with bypassing desktop environment GNOME, LXDE or so on. USB automount is needed functionality for Kodi as standalone to be a complete media centre. This post describes how to set automount without any help from desktop environment.
Right to the point, the solution is udevil a command line linux program which mounts and unmounts removable devices:
http://ignorantguru.github.io/udevil/
Unfortunately, udevil isn’t listed with dnf package manager for Fedora and can’t be installed with “dnf install” out of the box. Luckily, google search pointed me to the following link:
udevil-0.4.4-5.1.x86_64.rpm (Fedora RPM package on software.opensuse.org)
Page offers RPM versions for Fedora 24 and Fedora 25. Just download RPM directly and install (it doesn’t require any dependencies). The last step is to enable and start devmon with systemctl command:
root> systemctl enable devmonroot> systemctl start devmon
udevil is a small package that perfectly fits for automount.
Special thanks to udevil author IgnorantGuru (he is currently in hiatus :)