On Thu, May 24, 2001 at 10:18:13AM -0700, Ted Faber wrote:
> On Thu, May 24, 2001 at 12:48:02AM -0500, Mike Silbersack wrote:
> > Write caching is now off by default. man ata to see how to turn it back
> > on.
>
> Ummmm. I setting hw.ata.wc=1 and got:
>
> ted:~$ sudo sysctl -w hw.ata.wc=1
> sysctl: oid 'hw.ata.wc' is read only
>
> I'm assuming that this is because my controller doesn't support write
> caching. Can anyone confirm this? If that's why the oid is
> read-only, a one-liner in the ata man page (that I'm happy to write)
> would be a good thing.
Nope, that error is beacuse it is only settable from within the
loader(8). You cannot set it with sysctl(8)
The relevant one-liner from the ata(4) man page is:
The following tunables are setable from the loader:
...
hw.ata.wc
...
--
<Insert your favourite quote here.>
Erik Trulsson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message