Re: RFC: OpenRC as Init System for Debian
- To: firstname.lastname@example.org
- Subject: Re: RFC: OpenRC as Init System for Debian
- From: Patrick Lauer <email@example.com>
- Date: Mon, 07 May 2012 22:00:13 +0800
- Message-id: <[🔎] 4FA7D56D.firstname.lastname@example.org>
- In-reply-to: <20120426190801.GK3932@decadent.org.uk>
- References: <20120425174919.GA5596@bongo.bofh.it> <email@example.com> <firstname.lastname@example.org> <20120426062737.GA5875@zptr-nb18> <20120426172344.GG20262@earth.li> <20120426180317.GM8215@jones.dk> <20120426190801.GK3932@decadent.org.uk>
On 04/27/12 03:08, Ben Hutchings wrote:
> >> Don't assume dynamic device detection is only about personal machines
> >> or USB. It's useful in a much wider context.
>> Agreed it is *useful* in many cases.
>> But I also agree that it is not *required* in *all* cases.
>> I believe Debian still supports running locally compiled kernels which
>> do not depend on udev, and that some setups do not require udev either
>> (not everyone use fibre channel).
> It is supported only in the sense that it is not yet impossible.
> Please don't ask anyone to spend time to avoid udev dependencies;
> hotplugging is normal and udev is the proper way to handle all
> devices the Linux kernel finds.
Actually ... mdev does the job quite nicely.
All (well, almost all) udev does is listen on a netlink socket for
kernel events, then look which rule matches and then do what the rule
tells you to do.
There's no strict dependency on udev, it's just a convenient default
implementation. And as it has gotten more inconvenient maybe we should
just add a udev rule parser to mdev and be done with it?