Hi
"bashmount is a menu-driven bash script that uses udisks to easily
mount, unmount or eject removable devices without dependencies on any
GUI or desktop environment. An extensive configuration file allows
custom commands to be run on devices."
http://sourceforge.net/projects/bashmount/
Rahul