Can mount location of cdroms be customized?

David Jansen jansen at strw.leidenuniv.nl
Tue Aug 29 15:27:29 UTC 2006


I liked it in previous versions of Fedora Core that a cdrom would always
get mounted in a fixed location, e.g. /media/cdrom or /media/cdrecorder
so you could just access it, or have scripts access it in the same
location.
Now, cds and other removable media are mounted using the name of the
media, eg "/media/K3b data project"
Is there a way to customize the  mount point to get the old behaviour
back (or to get some other predictable behaviour)?

Access from scripts is one reason I would like that, cd's with 'weird"
characters in the name (probably encoded in another characterset) are
another reason. The above mentioned "/media/K3b data project" was
already problematic for some programs! And not just some weird programs:
bash-3.1# eject
umount: /media/K3b\040data\040project: not found
(and this was using eject-2.1.5-0.1.fc5, last week's update)
Such behaviour is just broken, but I don't know if it is eject that is
broken, or gnome-mount / udev / hal or whichever component that thought
that putting spaces in mountpoints would be a nice touch!

David




More information about the fedora-list mailing list