From owner-freebsd-questions Fri Sep 17 7:39:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 3D82A157EF for ; Fri, 17 Sep 1999 07:39:56 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id JAA53993; Fri, 17 Sep 1999 09:39:53 -0500 (CDT) (envelope-from dan) Date: Fri, 17 Sep 1999 09:39:53 -0500 From: Dan Nelson To: Pavel Roskin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to invalidate cache? Message-ID: <19990917093953.A53781@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre1i In-Reply-To: X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 17), Pavel Roskin said: > The installer writes directly to the disk. The questions is: what > precautions should be done before and after writing to /dev/rwd0 ? > (or should that be /dev/wd0 ?) > > More specifically, is it possible to invalidate the cache for the > whole disk? Is it necessary? Neither diskalbel nor boot0cfg seem to do anything apart from open /dev/rda0, write, close. The /dev/r* devices imply non-buffered access. At least when I open and read or write, I see the SCSI light blink immediately. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message