Re: sysctl options loader.conf or sysctl.conf

2005-08-03 Thread dick hoogendijk
On Wed, 03 Aug 2005 10:48:04 -0700
[EMAIL PROTECTED] (Gary W. Swearingen) wrote:

> Since sysctl.conf is read in only when going multi-user and that
> sounds like something you'd want always, I'd put it in loader.conf.

Not so. I tried /boot/loader.conf but vfs.read_max still was default
after the booting process. Putting it in /etc/sysctl.conf worked.
Confusing..

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sysctl options loader.conf or sysctl.conf

2005-08-03 Thread Charles Swiger

On Aug 3, 2005, at 11:21 AM, dick hoogendijk wrote:

I'm a bit confused about whcih options needs to be set where.


This changes over time.  A lot of options once needed to be set in  
the loader.conf before the kernel started up, but the system is  
getting more flexible and some of those can be changed at runtime  
now



I know i.e. that hw.ata.atapi_dma="1" needs to be set
in /boot/loader.conf while others are set in /etc/sysctl.conf. I need
to know where I can find info on the rules about this. Now I'm
dependant on what I happen to read somewhere.

I read something about vfs.read_max="16" -> where do I set this I
wonder? Is there info about this somewhere?


Look at /boot/defaults/loader.conf, that ought to give you a good  
idea of what needs to be (or can be) set via that.  Otherwise, try  
using sysctl to change things, and if they are marked read-only, then  
they needed to be changed earlier or by rebuilding the kernel with a  
different config.


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sysctl options loader.conf or sysctl.conf

2005-08-03 Thread Gary W. Swearingen
dick hoogendijk <[EMAIL PROTECTED]> writes:

> I'm a bit confused about whcih options needs to be set where.

You're not alone.

> I know i.e. that hw.ata.atapi_dma="1" needs to be set
> in /boot/loader.conf while others are set in /etc/sysctl.conf. I need
> to know where I can find info on the rules about this. Now I'm
> dependant on what I happen to read somewhere.

Well, sysctl(8) refers to loader.conf(5), sysctl.conf(5), loader(8),
which refer to /boot/defaults/loader.conf & /etc/sysctl.conf and
don't forget the handboot and FAQ.

> I read something about vfs.read_max="16" -> where do I set this I
> wonder? 

Since sysctl.conf is read in only when going multi-user and that
sounds like something you'd want always, I'd put it in loader.conf.

> Is there info about this somewhere?

Google?  If you think it's needed, please write a PR (probably on
/boot/default/loader.conf).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sysctl options loader.conf or sysctl.conf

2005-08-03 Thread dick hoogendijk
I'm a bit confused about whcih options needs to be set where.

I know i.e. that hw.ata.atapi_dma="1" needs to be set
in /boot/loader.conf while others are set in /etc/sysctl.conf. I need
to know where I can find info on the rules about this. Now I'm
dependant on what I happen to read somewhere.

I read something about vfs.read_max="16" -> where do I set this I
wonder? Is there info about this somewhere?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"