When working with a raspberry pi, you might need some USB storage to carry your data. I for example use a raspberry as a quite powerful seafile cloud server, which will probably be presented in a later post. As I was working with usb storage on raspberry pis, I became pretty bored on mounting devices manually and unmount it later aswell. The installable ‘automount’ program didn’t suit my flavor by adding unlabeled usb* folders to /media/*. I want to see the correct device name like on a regular desktop computer. So, I wrote a handy USB Automount Script for Raspberry Pis with the according udev rule to execute it when required.
The main script can … read more.