From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 4 20:34:26 2006 Return-Path: X-Original-To: freebsd-bugs@freebsd.org Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 529B916A586; Mon, 4 Dec 2006 20:34:26 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (pool-71-245-104-192.ptldor.fios.verizon.net [71.245.104.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 351B144032; Mon, 4 Dec 2006 20:27:50 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (localhost.home.localnet [127.0.0.1]) by schitzo.solgatos.com (8.13.8/8.13.6) with ESMTP id kB4KSA75015702; Mon, 4 Dec 2006 12:28:10 -0800 Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.13.8/8.13.4/Submit) with UUCP id kB4KSA3j015699; Mon, 4 Dec 2006 12:28:10 -0800 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id UAA19998; Mon, 4 Dec 2006 20:27:46 GMT Message-Id: <200612042027.UAA19998@sopwith.solgatos.com> To: mjacob@freebsd.org In-reply-to: Your message of "Mon, 04 Dec 2006 10:51:18 PST." <20061204104730.H15778@ns1.feral.com> Date: Mon, 04 Dec 2006 12:27:46 +0000 From: Dieter Cc: freebsd-bugs@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: kern/106340: Need to control disk write cache on per-disk basis X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 20:34:26 -0000 In message <20061204104730.H15778@ns1.feral.com>, mjacob@freebsd.org writes: > > FreeBSD only allows setting disk write cache mode on a system wide basis, > > and only at boot time. NetBSD allows setting the disk write cache mode > > of each disk individually, and does not require a reboot. See the NetBSD > > dkctl(8) man page. > > Which disks are you talking about? ATA disks? Yes, SATA disks. > For scsi disks you can do modepage edits via camcontrol that change it > on a per-disk basis, so I assume you must be talking about ATA disks > here, in which case it sounds like a simple addition to atacontrol(8). I did find camcontrol, but the only drive that shows up in camcontrol devlist is the PATA CD/DVD drive. This system doesn't have any real SCSI drives.