shaman200 n00b
Joined: 29 Dec 2005 Posts: 30
|
Posted: Sun Jun 07, 2009 10:44 pm Post subject: [SOLVED] Automount of esata and usb doesn't work in gnome |
|
|
Hello!
I have one HD pluged with esata and one usb key.
Some time ago i updated my system, after that no automount in gnome was working, even if i could see that it was properly detected by my computer (message in "dmesg").
Since i really needed to mount my HD i created it in my fstab and mounted it manually.
Then , when i tried to mount my usb key, i had an error message...
I realized later on that when my HD was mounted, i could plug my usb key and then it worked.
Since i found the solution, i think it might help some people that i tell how i did it.
The problem was that udev gave always the same device adress to the first device i pluged (/dev/sdh1),when it was my HD i could mount it manually, but when it was my usb key , the system tried to mount it using the options i put in my fstab...and failed.
So when i commented my settings in fstab, usb key automounted right , but nothing happened when in pluged my esata drive...
Finally, i found the answer here :http://wiki.archlinux.org/index.php/HAL#USB_sticks_and_drives_do_not_automount_correctly
The trick is to create the file /etc/hal/fdi/policy/preferences.fdi and write :
Code: | <merge key="volume.ignore" type="bool">false</merge>
|
then you just have to restart hal:
Code: | /etc/init.d/hald restart |
Now automount works like a charm! _________________ War is Peace, Freedom is Slavery, Ignorance is Strength. |
|