Monday, November 2, 2009

Better automount rules in karmic

Well i had already posted about automounting ur drives on startup but on the ubuntuforums topic, n0_mad reported an error and said a better way 4 doing it

so here goes

his method uses gnome-mount which is probably installed by default but if its not, its in the repos so just issue


sudo apt-get install gnome-mount


just add

gnome-mount -p Data(change it to your volume label)

to preferences-> startup applications in the command section 1 for every drive. or write a bash script like in a file

#!/bin/sh
gnome-mount -p drive1
gnome-mount -p drive2

make it executable by right clicking the file and from the properties->permissions allow execution or just run

chmod +x /path/to/file

and just add that to ur startup applications using browse button infront of the command section.

No comments:

Post a Comment