Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 08:40:05 GMT
From:      Dan Naumov <dan.naumov@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/134258: /boot/default/loader.conf contains untrue default
Message-ID:  <200905070840.n478e5ep036808@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/134258; it has been noted by GNATS.

From: Dan Naumov <dan.naumov@gmail.com>
To: remko@elvandar.org
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: conf/134258: /boot/default/loader.conf contains untrue default
Date: Thu, 7 May 2009 11:07:28 +0300

 From a user perspective: If a config file is in /boot/DEFAULT, I
 expect the config file to contain DEFAULT values used for the booting
 process. If the file is merely an EXAMPLE, it should be somewhere
 else.
 
 Sincerely,
 Dan Naumov
 
 
 P.S: The reason I was changing the value was precisely because I am
 running the installation inside a VM and after experiencing problems
 with wildly drifting time, I was told to adjust kern.hz to "100",
 however the  /boot/default/loader.conf file already had the commented
 line #kern.hz=3D"100" resulting in confusion.
 
 
 On Thu, May 7, 2009 at 10:37 AM, Remko Lodder <remko@elvandar.org> wrote:
 >
 >> The file /boot/default/loader.conf contains the following line:
 >>
 >> #kern.hz=3D"100" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Set the kernel int=
 erval timer rate
 >>
 >> which would imply that unless a different value is set in
 >> /boot/loader.conf, the system should use a 100 hz rate by default. This
 >> however is not true (at least on amd64), by default the system uses a 10=
 00
 >> hz rate and a simple act of copying /boot/default/loader.conf to /boot/
 >> and uncommenting the kern.hz line will change system behavior.
 >>>How-To-Repeat:
 >>
 >
 > HEllo,
 >
 > It does not say that this si the default setting, it's an example on how
 > to specify the values and what it does. 100Hz is commonly used for virtua=
 l
 > machines. If one modifies this behaviour he/she needs to know what he is
 > doing. If you do not know it, why change it? It could only harm. I do
 > agree that this might be a tad confusing though, I'll ponder on changing
 > it.
 >
 > Thanks!
 > rEmko
 >
 >
 > --
 > /"\ =A0 Best regards, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| remko@=
 FreeBSD.org
 > \ / =A0 Remko Lodder =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | remko@=
 EFnet
 > =A0X =A0 =A0http://www.evilcoder.org/ =A0 =A0 =A0 =A0 =A0|
 > / \ =A0 ASCII Ribbon Campaign =A0 =A0 =A0 =A0 =A0 =A0 =A0| Against HTML M=
 ail and News
 >
 >
 >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905070840.n478e5ep036808>