From owner-freebsd-questions Sun Jun 24 17:46:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.bmi.net (smtp.bmi.net [204.57.191.31]) by hub.freebsd.org (Postfix) with ESMTP id B7F5D37B405 for ; Sun, 24 Jun 2001 17:46:10 -0700 (PDT) (envelope-from jmcoopr@webmail.bmi.net) Received: from smtp.bmi.net (dsl-154.bmi.net [207.173.60.230]) by smtp.bmi.net (Pro-8.9.3/Pro-8.9.3) with SMTP id RAA10151; Sun, 24 Jun 2001 17:45:58 -0700 Date: Sun, 24 Jun 2001 17:45:54 -0700 From: John Merryweather Cooper To: "Christopher W . Aiken" Cc: Jim couch , FreeBSD-Questions Subject: Re: sysctl variable hw.ata.wc Message-ID: <20010624174553.A549@johncoop> References: <01062415502101.00699@katana.amberskogg.dns2go.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: ; from cwaiken@icubed.com on Sun, Jun 24, 2001 at 17:45:43 -0700 X-Mailer: Balsa 1.1.4 Lines: 29 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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