On Mon Dec 20 10, Chuck Swiger wrote: > On Dec 20, 2010, at 3:10 PM, Alexander Best wrote: > > 1) write caching to be turned on and off for individual hdds > > (i.e. hw.ata.X.wc) and > > 2) to be able to turn write chaching on and off on the fly. > > NetBSD's dkctl allows one to enable and disable read or write caches on a > per-device basis, on the fly. Presumably atacontrol or whatever the new ada > / ACHI driver uses for control would be the FreeBSD equivalent....
actually i was thinking of: sysctl hw.ata.0.wc = 1 sysctl hw.ata.1.wc = 0 i'm running a ATA_CAM enabled kernel, so i'm using camcontrol. adding an option to camcontrol for to enable/disable the write cache would be nice, but having the sysctl var writable and per-device based would be nicer. cheers. alex > > Regards, > -- > -Chuck -- a13x _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"