Re: Detecting new removable drives in Linux

2010-03-01 Thread Stefan Behnel
Bart Smeets, 01.03.2010 10:48: > 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 removabl

Re: Detecting new removable drives in Linux

2010-03-01 Thread Albert Hopkins
On Mon, 2010-03-01 at 10:48 +0100, Bart Smeets wrote: > 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 ex

Detecting new removable drives in Linux

2010-03-01 Thread Bart Smeets
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! R