#
1.1 |
|
30-May-2004 |
grange |
branches: 1.1.2; Devices hot plugging support. The hotplug pseudo-device passes device attachment and detachment events to userland. When a device attaches or detaches, the corresponding event is queued. The events can then be obtained from the queue through the read(2) call on the /dev/hotplug device file. Each event consists of event type (attach/detach), device class (DV_*) and device name (sd1 e.g.).
We have hotplug pseudo-device on alpha, amd64, i386, macppc and sparc64. Since it was tested only on i386 other archs has it commented out in GENERIC until tested.
The idea liked peter@ tedu@ drahn@ millert@ marco@ henning@. Ok deraadt@.
|