How can I create a symlink to the location that Ubuntu 10.10 mounts a CD?

Posted by Michael Curran on Ask Ubuntu See other posts from Ask Ubuntu or by Michael Curran
Published on 2011-01-31T21:23:41Z Indexed on 2011/01/31 23:34 UTC
Read the original article Hit count: 260

Filed under:
|
|

In Ubuntu 10.10, when I insert a CD or DVD into my optical drive, the system mounts the CD in a folder called /media/XYZ where XYZ is the disk's label. This has cause problems with Wine, as in order for an application to verify that an application's CD is present, Wine uses a symlinks to point to a mounted CD's folder. In this case, that folder must be /media/XYZ, but when using a different application, the folder would be different. I would like to know if there is a way to create a symlink that will always point to the mounted folder from a given /dev/cdrom* device, or how to force the system to always mount CDs to the same address (i.e. /media/cdrom).

© Ask Ubuntu or respective owner

Related posts about 10.10

Related posts about cd-drive