Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!elbereth!rutgers!lll-crg!lll-lcc!pyramid!voder!apple!dgold From: dgold@apple.UUCP (David Goldsmith) Newsgroups: net.micro.mac Subject: Re: Mods to the Mac-Plus Write-Thru Cache? Message-ID: <221@apple.UUCP> Date: Fri, 17-Oct-86 18:16:18 EDT Article-I.D.: apple.221 Posted: Fri Oct 17 18:16:18 1986 Date-Received: Tue, 21-Oct-86 04:45:52 EDT References: <6009@decwrl.DEC.COM> Reply-To: dgold@apple.UUCP (David Goldsmith) Organization: Apple Computer Inc., Cupertino, USA Lines: 32 In article <6009@decwrl.DEC.COM> harrow@exodus.dec.com (Jeff Harrow, NCSE LKG1-3/F16 DTN=226-7445) writes: >I believe that we have finally put to rest the confusion about the >Mac-Plus Control Panel Cache: It is **NOT** write-thru. Hence you **DO** >risk that in a crash situation, files which you THOUGHT were safe (you >SAVEd them) can really be left in an un-updated, or even corrupt state. > Although this has been discussed on the network before, I'll try to clarify the situation. Although it IS true that the Mac Plus cache is not write-through, it is NOT true that files you thought you saved may be corrupted. After completing any operation such as a save, application are supposed to call the File Manager routine FlushVol. This updates the volume directory and FLUSHES THE CACHE. The requirement that applications call FlushVol after Save and similar operations is not a new one; it has been present since day one and for MFS as well as HFS volumes. Even before there was a Control Panel cache there were volume directory caches which needed to be flushed by FlushVol. To summarize, if your application is written correctly (i.e., calls FlushVol at the appropriate times), your data is safe whether the cache is on or not. If it doesn't call FlushVol correctly, your data may not be safe, whether the cache is on or not. I've been using the cache for about a year now and have never lost any data because of it, despite some pretty spectacular crashes. David Goldsmith Apple Computer, Inc. Development Systems Group UUCP: {nsc,dual,sun,voder,ucbvax!mtxinu}!apple!dgold CSNET: dgold@apple.CSNET, dgold%apple@CSNET-RELAY