kernel device dependency and sys/conf/files format

John Baldwin jhb at FreeBSD.org
Mon Apr 7 14:20:35 PDT 2003


On 05-Apr-2003 Geoffrey C. Speicher wrote:
> I'm revisiting the project to determine device dependency in the kernel,
> and I've run into a situation where net/if.c requires the ether device,
> but no device appears to require net/if.c directly.
> 
> sys/conf/files says that net/if.c is "standard", but I have no idea what
> that means in terms of building a kernel.  An entry (filename) in that
> file can be listed as standard, mandatory, optional, or count.  Mandatory
> and optional seem pretty self-explanatory, but can anyone explain the
> meaning of standard and count?
> 
> I assume that net/if.c can be removed from the build or else it would be
> listed as mandatory, but it does appear that an awful lot of things
> implicitly depend on it.

Eh?  I am not aware of any 'mandatory' entries in sys/conf/files*.  This
is what I get:

> grep mandatory /sys/conf/files* 
>

Basically, 'standard' is how you spell 'mandatory' in sys/conf/files*.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the freebsd-hackers mailing list