Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with label dbus, hal or pmount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
trakon88
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2002
Posts: 84
Location: Hamburg, Germany

PostPosted: Thu Jan 05, 2006 2:24 pm    Post subject: Problem with label dbus, hal or pmount Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum