Thanks. I took the ideas from both mails and made it: Description: device state change monitoring daemon The devd daemon runs actions specified in a configuration file when certain kernel events (such as device addition or removal) happen. will be there in next upload. -- Robert Millan