I doubt there are that many different types of 'root filesystem on $foo'.
Is this list complete?
root on plain partition (on whatever physical medium)
root on lvm volume
root on software raidN root on evms
root on lvm/raid combination (however that works)
root on nfs
root on iscsi
root on some hardware raid (I bet it requires additional bianries)
My '/init' script can handle it all, except evms and hardware raid. Thats easy to fix, if you beat me to it. That, + basic udev and module-init-tools, and we have a generic solution for 'mount the root filesystem'.
Really, I doubt your plan to 'just put klibc into kernel source' is a
good plan, unless you intend to do all the above.
Ideally, put klibc in, together with the tools to moun the root
filesystem on the things mentioned above. But where will it end?
It would be even better if that is an own project which is intergrated into kbuild. How does it work today: You just grab your kernel from kernel.org, build and boot it, even in the crosscompiled case. Once the stuff behind prepare_namespace() is removed, some external help is required because you cant just download, build and boot it anymore.