Article 585R9 automount optical disc to specific folder Linux Mint XFCE

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?latest?d=yIl2AUoC8zA latest?i=_3Th8ZPMBvw:bAXJ8Ec6lBU:F7zBnMy latest?i=_3Th8ZPMBvw:bAXJ8Ec6lBU:V_sGLiP latest?d=qj6IDK7rITs latest?i=_3Th8ZPMBvw:bAXJ8Ec6lBU:gIN9vFw_3Th8ZPMBvw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments