It is simple. In order to be compatible to most of kernels mdev has to know what kernel parameters was used: version, SYSFS_DEPRECATED, ... That way we can configure workaround branches in mdev.c at configuration time. As always a user chooses between compatibility and size/speed. The kernel changes sysfs -- we add a FEATURED workaround in mdev.c. Simple.
-- Vladimir 2008/7/12, Holland, John <[EMAIL PROTECTED]>: >>I already proposed to create an optional FEATURE_KERNEL_SOURCES_PATH >>var in BB config. Then those who prefer compatibility would feed it >>with kernel sources path, and mdev.c could choose appropriate >>workarounds. Those who prefer size/speed would ignore it and mdev.c >>could behave just as it does now. >> >>-- >>Vladimir > > That sounds complicated and I don't see a solution for the continually > evolving sysfs in the second part of your proposal. > > ___________________________________________ > > Cellent Finance Solutions AG > > Firmensitz: Calwer Straße 33, 70173 Stuttgart > Registergericht: Amtsgericht Stuttgart, HRB 720743 > Vorstand: Thomas Wild > Vorsitzender des Aufsichtsrats: Rudolf Zipf > _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
