Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 1999 09:39:53 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Pavel Roskin <pavel_roskin@geocities.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to invalidate cache?
Message-ID:  <19990917093953.A53781@dan.emsphone.com>
In-Reply-To: <Pine.LNX.4.10.9909171613140.32722-100000@intra.typhoon.spb.ru>
References:  <Pine.LNX.4.10.9909171613140.32722-100000@intra.typhoon.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990917093953.A53781>