[Ilugc] hotplug events

  • From: linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
  • Date: Fri Jun 2 10:44:54 2006

Hotplug is deprecated since 2.6.15 .. udev will do all that hotplug does
Look at the udev.rules and other files in your distro

U M A R wrote:

hi chaks,
                  how do u do?
 
 I need one help.I want to auto mount usb using hotplug how can i do that.I 
have one script that finds out all the devices attached to the PC and mounts 
it ,but dynamically i want to run that script, like if i inserted an usb that 
script should run so that usb will mount.I found out that 
/et/hotplug/usb.agent will run when usb devices wil insert.So i added my 
script to that file,but at the time my script is running to mount usb is not 
able to fetch information about usb so its not mounting.But after inserting 
the usb if i run the same script manually USB is mounting.How can i automate 
this process.
 
 I want to know the last script that is running when usb is inserted.????/

Other related posts: