Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!mcsun!unido!horga!agsc!veeble!fiction!danny From: danny@fiction.ms.sub.org (DanielRoedding) Newsgroups: comp.sys.atari.st.tech Subject: Disabling FAT/Directory cache Message-ID: Date: 24 May 91 21:18:15 GMT Sender: news@fiction.ms.sub.org (That's me, the news system) Organization: apb, fiction rec. Germany Lines: 16 7103_2622@uwovax.uwo.ca (Eric Smith) writes: > Is there a nice way to tell TOS (version 1.4 and higher) *not* to > cache a drive? I want to share a drive over a network; clients > will see the drive as read-only, but I'd like the server to be able to > write to the drive. Since you have to write a little device driver, you also have to take care of the media change state. If you return 2 all the time at Mediach() calls, TOS should not keep old information it it's caches. BTW: Do you address the drive on file or on block level? If you write some- thing that intercepts the trap #1 vector, you don't have to do anything like this, since *you*'ll get all calls first... Daniel