automount optical disc to specific folder Linux Mint XFCE
by randdeveloper from LinuxQuestions.org on (#585R9)
Using Linux Mint with XFCE4 I'd like to automatically mount an optical disc to a specific folder. I've set automount options in the Disks application to be "User Session Defaults" and when I put a disc into the drive it gets automatically mounted on /media/myuser/nameofdisc and when I insert a disc with no name that just has audio files it gets mounted at /run/user/1001/gvfs/cdda:host=sr0. I don't /dev/sr0 being referred to in fstab, there's no entry for this.
I have 3 dvd writers and 1 bluray drive on my computer and I'd like to mount them to the same folder each time a disc is inserted rather than getting the folder either based on the name of the disc or assigned under my user id as above.
How can I mount a cd/dvd/bluray disc to a directory that I define when a disc is inserted? That is, every time I put a disc in the second drive, for example, I'd like to always be mounted in the same folder?


I have 3 dvd writers and 1 bluray drive on my computer and I'd like to mount them to the same folder each time a disc is inserted rather than getting the folder either based on the name of the disc or assigned under my user id as above.
How can I mount a cd/dvd/bluray disc to a directory that I define when a disc is inserted? That is, every time I put a disc in the second drive, for example, I'd like to always be mounted in the same folder?