I'm trying to replicate on the server what happens on the desktop version: when a USB drive is connected it is automatically mounted on /media as well as unmounted on removal or power failure.
I've tried usbmount but It doesn't properly unmount. Any suggestions are appreciated.