> On Sun, Dec 12, 2010 at 6:36 AM, MERIGHI Marcus <mcmer-openbsd@tor.at> wrote:
> > The behaviour change in hotplug(4)/hotplugd(8) after your commit makes
> > it more ``hot plug'', actually. What bothers me (but not many others,
> > obviously) is the fact that the behaviour change is undocumented. Four
> > places come to my mind:
> > 1) a comment in hotplug.c with appropriate commit message.
> > 2) hotplug(4) man page, ``When a device attaches or detaches, the
> > corresponding event is queued'' should (suggestion) read ``Once the
> > device is opened by userland, when a device attaches or detaches, the
> > corresponding event is queued.'' (I am not a native speaker, so
> > please correct me!)
> > 3) hotplugd(8) man page, make
> > ``The hotplugd daemon monitors the hotplug(4) pseudo-device, acting on
> > signaled events by executing the scripts in the /etc/hotplug
> > directory.'' read
> > ``The hotplugd daemon opens the hotplug(4) pseudo-device and thus
> > enables event signaling. It then monitors the device, acting on
> > signaled events by executing the scripts in the /etc/hotplug
> > directory.''
> > 4)
http://www.openbsd.org/faq/current.html
> >
> > I'd gladly supply patches for any of these.
>
> That sounds good.