Is MAXFILES still valid in a kernel config option?

Bill Moran wmoran at collaborativefusion.com
Tue May 16 10:28:30 PDT 2006


On Tue, 16 May 2006 19:06:45 +0300
Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:

> On 2006-05-16 11:35, Bill Moran <wmoran at collaborativefusion.com> wrote:
> >
> > Using 6.1, is MAXFILES still honored in the kernel config?
> >
> > I know I can adjust this via sysctl, but setting it in the kernel config
> > is more conducive to our deployment methodology.
> 
> Yes.  The option is still valid even in CURRENT.
> 
> The `src/sys/kern/subr_param.c' file contains:
> 
>      64 #ifndef MAXFILES
>      65 #define MAXFILES (maxproc * 2)
>      66 #endif
> 
> and the option is still present in `src/sys/conf/NOTES'.

Thanks.  I thought it a little odd that NOTES groups it under this category:
# Yet more undocumented options for linting.

Seemed like something that was liable to silently break ...

-- 
Bill Moran
Collaborative Fusion Inc.


More information about the freebsd-questions mailing list