You are not logged in.
Hello again.
I'd like to setup HAL to mount all my CDs and DVDs under a certain (always same) name, such as "/media/optical_disc". By default, HAL mounts them like "/media/<volume_label>".
If someone could shed some light on this (and perhaps recommend me some further readings), I'd be most grateful.
Thanks in advance!
Last edited by Wintershade (2010-04-07 20:28:30)
Only the best is good enough.
Offline
Have you tried this solution?
Offline
Hi everyone... sorry for the delay and for resurrecting the old topic. I've been away for a while, and now I've managed to get what I want.
I've created a new HAL policy file (in /etc/hal/fdi/policy) called 20-disc.fdi, which contains the follwing configuration:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="volume.is_disc" bool="true">
<merge key="volume.label" type="string">disc</merge>
</match>
</device>
</deviceinfo>
From now on, every optical disc I insert into my computer will be mounted under /media/disc. Voila, desired effect achieved!
Thanks everyone for the help.
Only the best is good enough.
Offline