From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 4 20:57:03 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2116916A4FB for ; Mon, 4 Dec 2006 20:57:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFDBC4451E for ; Mon, 4 Dec 2006 20:39:49 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB4KeE5L007664 for ; Mon, 4 Dec 2006 20:40:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB4KeE6k007663; Mon, 4 Dec 2006 20:40:14 GMT (envelope-from gnats) Date: Mon, 4 Dec 2006 20:40:14 GMT Message-Id: <200612042040.kB4KeE6k007663@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Dieter Cc: 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 Reply-To: Dieter List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 20:57:03 -0000 The following reply was made to PR kern/106340; it has been noted by GNATS. From: Dieter To: mjacob@freebsd.org Cc: freebsd-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: kern/106340: Need to control disk write cache on per-disk basis Date: Mon, 04 Dec 2006 12:27:46 +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.