trakon88 Tux's lil' helper


Joined: 04 Aug 2002 Posts: 84 Location: Hamburg, Germany
|
Posted: Thu Jan 05, 2006 2:24 pm Post subject: Problem with label dbus, hal or pmount |
|
|
Hello everybody,
I have Kernel gentoo-sources-2.6.14-r5 and the following installed:
sys-apps/dbus-0.60-r3
sys-apps/hal-0.5.5.1-r3
sys-apps/pmount-0.9.6
When I plug in usb-drives KDE 3.5 shows up a link on the desktop with the 'labelname' of the medium - but when I mount it, it gets mounted as /dev/sdb1 or /devsdx1 whatever ... I'd like to get it mounted as the name of the label. I checked /usr/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi and it looks like this:
-------------------------snip-------------------------------------
<!-- Best: If available use filesystem label -->
<match key="volume.label" empty="false">
<!-- unless it's a path (e.g. /boot, /, /home etc) -->
<match key="volume.label" is_absolute_path="false">
<!-- and only if the label is ascii -->
<match key="volume.label" is_ascii="true">
<merge key="volume.policy.desired_mount_point" type="copy_property">volume.label</merge>
</match>
</match>
</match>
----------------------snip------------------------------------------
I thought this is the point, but isn't that ok? Why the removable media don't get mounted with the 'labelname' e.g. I have a harddisk with the label 'TREKSTOR' and it should always get mounted as /media/trekstor not as /dev/sdb1 or /dev/sda1 whatever ...
Does anyone have a hint - I didn't find a posting ...
greetings
aleX |
|