Detecting new removable drives in Linux

Bart Smeets bartsmeets86 at gmail.com
Mon Mar 1 04:48:05 EST 2010


Hello,

I'm trying to write a script which detects when a new removable drive is
connected to the computer. On #python I was advised to use the
dbus-bindings. However the documentation on this is limited. Does anyone
know of an example of how I can detect new removable drives?

Thanks in advance!
Regards,
Bart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100301/9f1dbbd5/attachment.html>


More information about the Python-list mailing list