Quantcast
Channel: Active questions tagged automount - Ask Ubuntu
Viewing all articles
Browse latest Browse all 224

Avoid adding numbers to USB disks partition label/UUID when mount point exists under /media/user

$
0
0

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.


Viewing all articles
Browse latest Browse all 224

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>