Detecting new removable drives in Linux

Bart Smeets bartsmeets86 at
Mon Mar 1 10:48:05 CET 2010


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list