From owner-freebsd-stable Mon Apr 9 8:28: 4 2001 Delivered-To: freebsd-stable@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id E5F3737B422 for ; Mon, 9 Apr 2001 08:27:58 -0700 (PDT) (envelope-from jose@we.lc.ehu.es) Received: from v-ger.we.lc.ehu.es (v-ger [158.227.6.51]) by polaris.we.lc.ehu.es (8.11.1/8.11.1) with ESMTP id f39FRvn05871; Mon, 9 Apr 2001 17:27:57 +0200 (MET DST) Received: from we.lc.ehu.es (localhost [127.0.0.1]) by v-ger.we.lc.ehu.es (8.11.3/8.11.3) with ESMTP id f39FRv500646; Mon, 9 Apr 2001 17:27:57 +0200 (CEST) (envelope-from jose@we.lc.ehu.es) Message-ID: <3AD1D4FD.504E92FA@we.lc.ehu.es> Date: Mon, 09 Apr 2001 17:27:57 +0200 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: Kevin Oberman Cc: stable@FreeBSD.ORG Subject: Re: Enabling ata write cache in -Stable References: <200104091454.f39Eskc00975@ptavv.es.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kevin Oberman wrote: > > I see that the ATA_ENABLE_WC option has left the kernel. Is there any > way to temporarily re-enable it at boot time? I see hw.ata.wc, but it > is read-only. I only want to use the write cache when running > stand-alone and using dd to copy my hard drive. > > I've checked the man pages and the release notes and I don't see > anything. > I bumped into this same problem and, after reading the ata(4) manpage several times, I noticed that it says: The following tunables are setable from the loader: ^^^^^^^^^^^^^^^ so you only need to add hw.ata.wc="1" to /boot/loader.conf. BTW, I think that these new ata kernel tunables should be added to /boot/defaults/loader.conf. Cheers, -- JMA ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message