Auto-mounting USB Drives with udev
This is a feature that’s now available on virtually all computers - the system automatically searches for devices in the background and mounts them. This feature might not be very useful in headless Linux systems, as USB drives need to be manually mounted each time. So I decided to write a script to automate USB mounting. The goal is: when inserting a USB drive, the system automatically mounts it at /path-to-mount/label, where label is the USB drive’s name (note: avoid inserting two SD cards with the same label)....