Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome 2.22 and mounting removable media etc
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
wa1ter
n00b
n00b


Joined: 10 Sep 2008
Posts: 4

PostPosted: Sun Sep 21, 2008 10:35 pm    Post subject: Reply with quote

Another very important setting to check:
Use hal-device to check the 'volume.ignore' property of each
volume. gnome-mount will refuse to mount any volume with
volume.ignore=true.

Now I need to find out how *all* of my disks got set to 'true'.
Back to top
View user's profile Send private message
sethleon
Guru
Guru


Joined: 14 Dec 2003
Posts: 398
Location: Germany

PostPosted: Wed Sep 24, 2008 9:05 am    Post subject: Reply with quote

I just was confused having lost all internal devices. I just found out how to set the volume.ignore to false.
Following line of code sets those ignores to false for each volume, which has a label (that are the usual Partitions).
Important is to run it as root!
Code:
for i in `lshal | grep -e '^udi' | sed "s/udi = '//;s/'//" | grep volume`; do if [[ "" != "$(hal-get-property --udi $i --key volume.label)" ]] ; then hal-set-property --udi $i --key volume.ignore --bool true; fi; done

_________________
Mess with the best, die like the rest.
Back to top
View user's profile Send private message
wa1ter
n00b
n00b


Joined: 10 Sep 2008
Posts: 4

PostPosted: Thu Sep 25, 2008 12:04 am    Post subject: Reply with quote

That's quite a script. I cheated and changed the 'true' to 'false' in
/usr/share/hal/fdi/policy/10osvendor/99-storage-policy-fixed-drives.fdi
and that worked for me.
Back to top
View user's profile Send private message
wyvern5
Apprentice
Apprentice


Joined: 11 Nov 2006
Posts: 161

PostPosted: Thu Sep 25, 2008 3:47 am    Post subject: Reply with quote

volume.ignore is false for my external drive, but still no luck...
What's weird is my box at home does properly mount it, with gnome-volume-manager and nautilus compiled just the same way.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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