Uses for access time

Tony Li tli at sargas.usc.edu
Tue Apr 26 18:13:42 AEST 1988


In article <3672 at lynx.UUCP> m5 at lynx.UUCP (Mike McNally (Man from Mars)) writes:
    I am trying to convince some of my ``colleagues'' here that keeping track
    of last-access times of files is a useful pursuit for an operating system.
    The only good reasons I can come up with are
    
    1.	it's nice for accounting/housekeeping
    2.	it's a useful security feature (has anyone looked at my database 
    	since I left yesterday?)
    
Here's one example of #1 which I hope proves sufficient in and of
itself.

We keep a single pack here which we use to maintain sources for our
Unix system.  With comp.sources.misc, comp.sources.unix, alt.sources,
etc., this disk gets full rather rapidly.  By looking at the access
times, we can determine if a particular source file has been examined
recently.  If it has been touched 'recently', then someone has been
looking at it and we should probably leave it around.  Of course, this
is an implicit assumption of temporal locality.  If a file has not
been accessed recently, then it is probably not necessary in the near
future.  We can then either compress the file or archive it to tape.

I've seen similar schemes on Tops-20 which will archive a users files
in an attempt to minimize disk usage.

Tony Li - USC University Computing Services - Dain Bramaged.
Uucp: oberon!tli						
Bitnet: tli at uscvaxq, tli at ramoth
Internet: tli at sargas.usc.edu



More information about the Comp.unix.wizards mailing list