Date: Mon, 09 Apr 2001 17:27:57 +0200 From: "Jose M. Alcaide" <jose@we.lc.ehu.es> To: Kevin Oberman <oberman@es.net> Cc: stable@FreeBSD.ORG Subject: Re: Enabling ata write cache in -Stable Message-ID: <3AD1D4FD.504E92FA@we.lc.ehu.es> References: <200104091454.f39Eskc00975@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AD1D4FD.504E92FA>
