I have a small script that I wanted to run on a disk being loaded/mounted by my fedora 17 system. Fortunately UDEV rules provide a pretty simple way (once you know how) to do this :)
First off make a trigger script. I put mine in /usr/bin/disc_trigger