[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to fully replace another package

On Aug 24, Ben Armstrong <synrg@sanctuary.nslug.ns.ca> wrote:

> 1. kernel hotplug subsystem detects an event
> 2. kernel dispatches the event handling using the program named
> in /proc/sys/kernel/hotplug (default is /sbin/hotplug) passing it any
> necessary argument(s) to hotplug
> 3. /sbin/hotplug dispatches the request to the appropriate handler named
> in the first argument
On udev systems events are received by udevd, either using udevsend or
(when the kernel input subsystem will be fixed) a netlink socket.
/sbin/hotplug does not enter in the picture at all.

Then the default udev configuration will run the hotplug.d/ handlers.
This is not strictly needed, but I cannot avoid it until udev will
become mandatory to have hotplug support (is there a consensus on this?).

> 3a. if a specific handler isn't found, any handler(s) in the default
> directory are called
No, default handlers are always run.


Attachment: signature.asc
Description: Digital signature

Reply to: