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:
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:
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 devmon root> systemctl start devmon
udevil is a small package that perfectly fits for automount.
Special thanks to udevil author IgnorantGuru (he is currently in hiatus :)