You could use gnome-volume-manager
to automount. You can reconfigure it a bit using gnome-volume-properties
.
screenshot
If you're in runlevel 3 I don't believe this is an option. You could however coax udev
into doing the mounting for you in a similar fashion.
1. add a file automount.rules
in /etc/udev/rules.d
2. add the following lines to automount.rules
automount.rules
# automounting usb flash drives
# umask is used to allow every user to write on the stick
# we use --sync in order to enable physical removing of mounted memory sticks -- this is OK for fat-based sticks
# I don't automount sda since in my system this is the internal hard drive
# depending on your hardware config, usb sticks might be other devices than sdb*
ACTION=="add",KERNEL=="sdb*", RUN+="/usr/bin/pmount --sync --umask 000 %k"
ACTION=="remove", KERNEL=="sdb*", RUN+="/usr/bin/pumount %k"
ACTION=="add",KERNEL=="sdc*", RUN+="/usr/bin/pmount --sync --umask 000 %k"
ACTION=="remove", KERNEL=="sdc*", RUN+="/usr/bin/pumount %k"
3. reload the udev rules:
udevadm control --reload-rules
gnome-disk-utility
I found the new name of gnome-volume-manager
BTW. It's called gnome-disk-utility in CentOS6, I just confirmed that that RPM is in the default yum repos.
This U&L Q lead me to it: USB storage devices aren't automatically mounted when inserted on a fresh install of Debian 6.0.
Do the following command to find it:
$ yum search gnome-disk-utility*
gnome-disk-utility-devel.i686 : Development files for gnome-disk-utility-libs
gnome-disk-utility-devel.x86_64 : Development files for gnome-disk-utility-libs
gnome-disk-utility-ui-devel.i686 : Development files for gnome-disk-utility-ui-libs
gnome-disk-utility-ui-devel.x86_64 : Development files for gnome-disk-utility-ui-libs
gnome-disk-utility.x86_64 : Disk management application
gnome-disk-utility-libs.i686 : Shared libraries used by Palimpsest
gnome-disk-utility-libs.x86_64 : Shared libraries used by Palimpsest
gnome-disk-utility-ui-libs.i686 : Shared libraries used by Palimpsest
gnome-disk-utility-ui-libs.x86_64 : Shared libraries used by Palimpsest
References
How do I achieve automatic mounting when this USB device with known UUID is plugged in
do you mean you only want to automount this specific USB drive? Or does it matter? I've gone ahead an posted a more generic answer that will automatically mount most USB storage devices, but I am not entirely sure this is what you want.