What happens under the hood when an USB drive is inserted?

view story

http://askubuntu.com – Some systems use udev / pmount to automatically mount thumbdrives. How is that solved in Ubuntu (specifically, Ubuntu 12.04)? Apparently, neither the pmount package nor the corresponding udev rules are present, yet Ubuntu mounts the inserted USB drives automatically. How does that happen? (HowTos)