Hacker News new | ask | show | jobs
by vesinisa 3232 days ago
If you mean auto-mounting on inserting USB devices, it is handled a bit differently depending on your distribution. E.g. https://wiki.archlinux.org/index.php/Udisks https://wiki.debian.org/AutoFs

I personally don't think it's that much of a trouble to just journalctl for the /dev/sdX of the inserted device and then sudo mount /dev/sdX /mnt/tmp manually, because I so rarely plug USB drives. For permanently attached or frequently used devices you can add them to fstab and mount by UUID to a fixed path.

Either way, you will still always need to umount manually or risk loosing data.