Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!uunet!elroy.jpl.nasa.gov!jato!jdickson From: jdickson@jato.jpl.nasa.gov (Jeff Dickson) Newsgroups: comp.sys.amiga.programmer Subject: Watching a dir Message-ID: <1991May1.170440.13999@jato.jpl.nasa.gov> Date: 1 May 91 17:04:40 GMT Reply-To: jdickson@jato.Jpl.Nasa.Gov (Jeff Dickson) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 19 Since there has much talk of AmigaDOS 2.0, let me hit you all with this. AmigaDOS 2.0 allows you to get notified when a certain file is mod- ified. Unfortunately, that only seems to be the case when a file is actually changed. So I guess if you were watching a directory, you would find out about everytime a file beneath it were affected. This only works for writing the file's contents. It doesn't work for reading and executing it. Are my assumptions correct? UNIX filesystem maintains a date stamp that is updated everytime a file is accessed. AmigaDOS does not. So if there was some way to tell what file had been accessed - there would be no way to determine directly from the filesystem the frequency. The program would have to main- tain its own datestamp database. I'm trying to see the light at the end of the tunnel on this. Anyone else have any input on this? thanks, Jeff