Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!nrl-cmf!mailrus!tut.cis.ohio-state.edu!osu-cis!att!att-ih!chinet!saj From: saj@chinet.UUCP (Stephen Jacobs) Newsgroups: comp.sys.atari.st Subject: Re: Caching in GEMDOS Message-ID: <4897@chinet.UUCP> Date: 21 Apr 88 04:54:45 GMT References: <454@nikhefh.hep.nl> Organization: Chinet - Chicago Public Access UNIX Lines: 9 Summary: Explains an odd bug I once got The referenced posting (a detailed explanation of the builtin cacheing done by GEMDOS) seems to explain a bug I encountered in a toy program I wrote to manipulate floppy disk volume labels. It openned a file marked as a volume label (ala MS-DOS), then hunted out the directory entry (after closing the file) and changed trailing spaces to trailing nulls (to match the format of a desktop-created volume label)(I may have blanks and nulls reversed). Well, after the program terminated, the blanks were back! (Yeah, I reread the directory entry after changing it). But 2 separate caches...one flushed on file closing, the other on program termination---interesting.