http://qs321.pair.com?node_id=726364

renegadex has asked for the wisdom of the Perl Monks concerning the following question:

Hi! is there a way to detect a plugged usb flash drive or detect a cd inside the cd rom drive using Perl? I've been googling around and always end up with "how to mount a usb flash drive". I need a way to "scan" if a new usb / cd is inserted to the computer. Also I'm using Fedora 9.