Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Detect Plugged USB Flash Drive / CD in CDROM Drive

by cdarke (Prior)
on Nov 27, 2008 at 15:32 UTC ( [id://726429]=note: print w/replies, xml ) Need Help??


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

You probably want to use an inotify on the /mnt or /media directory. Try Linux::Inotify (I have no experience of that module myself)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://726429]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-03-28 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found