in reply to Detect Plugged USB Flash Drive / CD in CDROM Drive

Most modern Linux systems come with some sort of framework for pluggable devices, usually udev or hotplug (or both, I've never quite understood the relation).

Usually you can configure these monsters to run a program when such a new device is plugged in, and this program can also be a Perl script.

  • Comment on Re: Detect Plugged USB Flash Drive / CD in CDROM Drive