1 2 3 4
bashmount is a command-line tool to easily manage removable media. An example configuration file is located at /etc/bashmount.conf You can copy this to $HOME/.config/bashmount/config.