Topic: /boot/loader.conf vs sysctl.conf

I'm reading articles on system tuning and sysadmins seem to add values to both /boot/loader.conf and /etc/sysctl.conf

Question is:  Why both?  can you not put everything into the loader.conf since it gets used first?

Re: /boot/loader.conf vs sysctl.conf

Yes, you're absolutely right. The only advantage of using sysctl.conf that comes to mind is that you can more easily apply changes ("/etc/rc.d/sysctl start").

Re: /boot/loader.conf vs sysctl.conf

loader.conf --> tunables that can be set ONLY at boot and NOT LATER
sysctl.conf --> tunables that can be set anytime

Of course you can put all tunables into loader.conf but you can not do that with sysctl.conf since some will fail to set up.

"religions, worst damnation of mankind"
[color=Blue]Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for

Re: /boot/loader.conf vs sysctl.conf

vermaden wrote:

sysctl.conf --> tunables that can be set anytime

To be honest only and only when
/etc/rc.d/sysctl is executed with right arguments.

Last edited by richardpl (2008-11-07 15:41:24)

Re: /boot/loader.conf vs sysctl.conf

?

"religions, worst damnation of mankind"
[color=Blue]Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for