Is MAXFILES still valid in a kernel config option?
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue May 16 11:30:50 PDT 2006
On 2006-05-16 13:28, Bill Moran <wmoran at collaborativefusion.com> wrote:
>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 ...
I'm not sure what the real plans are around there, but (AFAIK) at
least for the RELENG_6 branch, now that the option is part of
RELENG_6 it should remain there for the entire lifetime of the
branch :)
More information about the freebsd-questions
mailing list