Date: Sun, 24 Jun 2001 17:45:54 -0700 From: John Merryweather Cooper <jmcoopr@webmail.bmi.net> To: "Christopher W . Aiken" <cwaiken@icubed.com> Cc: Jim couch <jcouch@netdoor.com>, FreeBSD-Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: sysctl variable hw.ata.wc Message-ID: <20010624174553.A549@johncoop> In-Reply-To: <Pine.BSF.4.32.0106242041140.43224-100000@users.icubed.com>; from cwaiken@icubed.com on Sun, Jun 24, 2001 at 17:45:43 -0700 References: <01062415502101.00699@katana.amberskogg.dns2go.com> <Pine.BSF.4.32.0106242041140.43224-100000@users.icubed.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2001.06.24 17:45 Christopher W. Aiken wrote: > On Sun, 24 Jun 2001, Jim couch wrote: > > :)If I turn this on at boot time with set hw.ata.wc=1 at the boot > prompt does > :)this only last till I reboot or is it persistent? If it is not > persistent how > :)do I go about enableing it so that I don't have to interrupt boot-up > each > :)time to tun it on?? > > Jim, > I just found out myself that the default value of hw.ata.wc=0. > As root edit the /boot/default/loader.conf file and add > hw.ata.wc="1" . Then the value will be set at each boot. As long > as the value is "0" my machine is a "dog". > > to verify the setting after a boot, issue: sysctl -a | grep ata > > -- > -=[cwa]=- > > Big mistake to edit anyting in "default"--it may well get washed on the next "make world"/"mergemaster" run you take. Much, much better to create a sysctl.conf in /boot and enter the values you want different from the default there. jmc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010624174553.A549>