On 16.03.2015 21:30, Natanael Copa wrote:
Does it exist systems that are so old that they lack hotplug - but at same time are new enough to have sysfs?
Oh, yes! Mainly embedded world.
I suppose it would make sense for kernels without CONFIG_HOTPLUG but I would expect such systems use highly customized/specialized tools rather than general purpose tools.
You miss to think about all those embedded device which build there minimal System around BB, plus some application specific programs.
Such systems do only use BB tools for the system setup, and what if they want to use a specialized plug event gatherer (however that does work)?
We have different goals so I will likely not use your tools. I want a tool for hotplug that avoids dead code.
Then build your own BB version and disable those mechanism in the config you do not use. Then there would be no dead code ... but you are free to use whichever tool you like.
Thanks for your patience and thanks for describing it with few words. I think I finally got it.
Your decision, but I still think, you don't do something different, except moving around some of the code, without gaining any real benefit, but the expense of blocking those who like to setup there system in a different way ... ough ... I won't like to use your tools, too!
[For completeness: When you like to know, why I think your design is not the right way, see what Laurent told you about this.]
-- Harald _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox