A Hettinger wrote:
Bug 6386938 states that the sata framework (now) generates sysevents when a device is 
plugged or unplugged. How can I hook into this to respond to one of these events? (I'm 
wanting it to automaticly "cfgadm configure" SATA drives when they are 
insterted (I can't fathom why this isnt the default behavior).)

http://blogs.sun.com/dmick/entry/watching_system_events is some old code to
watch events that still worked the last time I tried it (about a month ago).

But: I'd be very surprised if the drives weren't configured on hotplug too. I suspect something else is wrong.
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to