RFD: Rework/extending functionality of mdev

Harald Becker ralda at gmx.de
Thu Mar 12 20:32:01 UTC 2015


On 12.03.2015 19:38, Michael Conrad wrote:
> On 3/12/2015 12:04 PM, Harald Becker wrote:
>> but that one will only work when you either use the kernel hotplug
>> helper mechanism, or the netlink approach. You drop out those who
>> can't / doesn't want to use either.
>
> ...which I really do think could be answered in one paragraph :-) If the
> netlink socket is the "right way" to solve the forkbomb problem that
> happens with hotplug helpers, then why would anyone want to solve it the
> wrong way?  I don't understand the need.

Michael,

ohh, good question! ... ask Isaac! (answer in one paragraph?)

In General: We are not living in a uniform world, where every person 
handle things in the same way ... peoples preferences are different ... 
for whatever reason ...

In Detail: I'm not a philosopher, but it sounds to me more like a "what 
is the sense of Live?" question ... that mean I can't give you the 
definitive answer to this question

In Practical: We can have a simpler version, when we chose the netlink 
approach and Natanaels cold plug trigger function, but then others will 
complain (see Isaac).

Conclusion: As I accept different preferences, and I do not want to 
force others more than possible, I tried to find a solution which allows 
every required mechanism (with maximum code sharing), and let the user 
chose which one to use. In addition BB has a config system which allows 
to disable unwanted stuff, so you can opt out the hotplug stuff when you 
like.

... but still Isaac insist on using the old (suffering) mdev version and 
prefers an error known system over some imvrovements and innovation :(

--
Harald



More information about the busybox mailing list