roel got a reaction from
tkaiser in ldm - Lightweight Device Mounter
Hello,
I found this Lightweight Device Mounter: https://github.com/LemonBoy/ldm
I thought it was interesting enough to share it.
install necessary dependencies:
apt-get install libmount-dev libglib2.0-dev libudev-dev
the systemd service needs ldm.conf file in /etc:
nano /etc/ldm.conf
with following contents:
MOUNT_OWNER=usernameBASE_MOUNTPOINT=/mnt
enable the service: systemctl enable ldm
start the service: systemctl start ldm
It should work, it does with me.