I'm using Ubuntu 23.04 and I'm assuming that Ubuntu is using autofs to auto mount. I'm unfamiliar with autofs configuration.
When I connect my labeled external drive(s) via usb, they automatically mount based on label in /media/user/label
. However, if /media/user/label
already exists (nothing mounted - empty directory), it mounts on /media/user/label1
.
This is not what I want. If these old mount points exist, I want to use them as is.
Is this a possible configuration? If not, I would prefer it to fail and not mount anything.