On 02/09/2020 06.57, Andrei Borzenkov wrote:
02.09.2020 00:26, Istvan Gabor пишет:
Hello:
I have openSUSE Leap 15.1 (with KDE 3 it matters).
Currently optical media (DVD, CD) is mounted/automounted as /media/<media-vol-name>. I don't like this behavior, I would like these to be mounted as /media/DVD. How can I set it?
Interesting idea.
You cannot as long as you are using default automount implementation based on udisks. Udisksd calculates mount point itself in order of preference - filesystem label, filesystem UUID, disk%N. You will need to patch sources to change it.
Thanks for the explanation :-)
I don't want to change fstab and set fstab rule. I would like to change the way the system names the recognized media. >>
I want my pony too. But if you need to get it done, just add /etc/fstab line and polkit rule to allow mounting this specific device without password.
Why not the "user" option in fstab? I have, probably for decades: /dev/dvd /mnt/dvd auto ro,user,noauto 0 0 -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)