> You can arrange for user level processes being started
 > when certain kernel events happen; have a look at
 >  /etc/sysevent/config/README
 > 
 > A few years ago (when vold was used on Solaris instead of
 > hald) I created a new file of the form 
 > /etc/sysevent/config/XXX,sysevent.conf
 > with contents:
 > 
 >     EC_devfs ESC_devfs_devi_add SUNW ddi - - - /usr/local/etc/hotplug 
 > $vendor $publisher $class $subclass ${di.path}
 > 
 > That started the script /usr/local/etc/hotplug
 > whenever a new device node was created,
 > which happens when you hotplug an 
 > usb device.

AFAICT, the EC_devfs sysevents are Contract Private -- in other words,
anything built atop of these is built on sand.

-- 
meem
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to