[klibc] Re: klibc structure in the kernel

H. Peter Anvin hpa at zytor.com
Fri Jul 30 14:26:24 PDT 2004


Sam Ravnborg wrote:
> Hi all.
> 
> Proposal for directory structure in the kernel:
> 
> usr/include			<= _all_ include files
> usr/include/{net,sys,..}
> usr/include/arch/$(ARCH)	<= arch specific include files
> *1
> 
> usr/klibc			<= klibc files
> usr/klibc/arch/$(ARCH)		<= arch specific config and files
> 				   except include files
> 
> usr/kinit			<= program integrated in the kernel
> usr/kinit/nfsmount		<= used by kinit, and stanalone
> usr/kinit/ipconfig		<= as do
> *2
> 
> *1
> Combine all header files in a single tree with an arch specific
> place when relevant.
> 

Looks like it's already well integrated to me?

> *2
> Will we clutter this up over time or is this flat structure OK?
> The reason to keep nfsmount/ipconfig under kinit is that kinit are
> dependent on the two.
> 

I think this is fine.

	-hpa



More information about the klibc mailing list