What’s the easiest way to make external USB drives automount, without adding them to fstab? It should just work even if someone else hands me their flash drive.
I’m running sway on Arch if that matters.
What’s the easiest way to make external USB drives automount, without adding them to fstab? It should just work even if someone else hands me their flash drive.
I’m running sway on Arch if that matters.
You can use udev rules and systemd mount or AutoFs.
https://wiki.archlinux.org/title/Udev https://wiki.archlinux.org/title/Systemd#systemd.mount_-_mounting
https://wiki.archlinux.org/title/Autofs