Linux is great in the respect that you have COMPLETE control over everything you do on the system. You can even control the mounting of drives. However, sometimes you may just want the system to mount it itself. I’ve read that many people were having problems with supermount and it is no longer mainstream.
This is where IVMan comes into play. Submount was removed from the Gentoo Portage as of 2nd of Janurary, 2007. As long as my system mounts a USB stick at when I plug it in, I’m a happy camper.
In order to use ivman, the system must have the following installed for it to work correctly:
This is a quick and dirty way of how I set up ivman to work on my system. I use Gnome, so if you use Gnome as well, you may want to make sure that coldplug and gnome-volume-manager is installed.
# emerge -av ivman
# emerge –oneshot glibc linux-headers
# emerge coldplug gnome-volume-manager
# rc-update add ivman default
# rc-update add hald default
# rc-update add dbus default
# /etc/init.d/ivman start
Make sure that the users that need the ability to mount devices automatically are added to the plugdev group.
Chances are that if you plug in a USB flash drive, it’s going to tell you that you do not have permission to view the contents of the drive. Since whenever I plugged in a UFD, it would always get assigned /dev/sdd1, I just added the following line to my /etc/fstab file:
/dev/sdd1 /media/sdd1 auto users,rw 0 0