On Sat, Aug 28, 2010 at 11:02 AM, Nilesh Govindarajan <[email protected]>wrote:
> On 08/28/2010 02:51 AM, Narendra Sisodiya wrote: > >> USB device has major and minor number to identify them. I want that if I >> insert a USB device, If a perticular major and minor number match, it >> will run some bash script. >> Do anybody has hint? how to do it ? >> >> >> -- >> ┌─────────────────────────┐ >> │ Narendra Sisodiya >> │ http://narendrasisodiya.com >> └─────────────────────────┘ >> >> -- >> l...@iitd - http://tinyurl.com/ycueutm >> > > You need to add UDEV Rules. > Find the guide for writing Udev rules attached. > Its the most popular guide on earth I believe. > > > -- > Regards, > Nilesh Govindarajan > Facebook: http://www.facebook.com/nilesh.gr > Twitter: http://twitter.com/nileshgr > Website: http://www.itech7.com > VPS Hosting: http://www.itech7.com/a/vps > > -- > l...@iitd - http://tinyurl.com/ycueutm > thanx!! -- http://wediefornation.blogspot.com/ -- l...@iitd - http://tinyurl.com/ycueutm
