home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!ucbvax!U.WASHINGTON.EDU!DEREK
- From: DEREK@U.WASHINGTON.EDU
- Newsgroups: comp.os.vms
- Subject: Re: When is modif. date for .dir-files changed?
- Message-ID: <0D007A89967F810A4E@MAX.U.WASHINGTON.EDU>
- Date: 16 Aug 92 22:17:00 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 42
-
- Henrik Tougaard raised this topic with:
- ...
- >I have been unable to discover whether this is a bug or a feature
- >in VMS, if it only occurs in certain VMS releases (I know that
- >it is in VMS 5.5 but do not have access to other versions).
-
- It has been this way for as long as I remember, which is back to V1.something.
-
- >I always assumed that the modification date of a file (even a
- >directory file) reflects the last time *any* modifications have
- >been made to the file - and in the case of directories that would
- >be whenever a file is created or deleted.
- >
- >Can anyone shed light on this?
-
- As far as I can tell, which is pure guesswork since I haven't bothered to
- look into the fiche, it seems that the dates on directory files are modified
- in basically two cases.
-
- 1. If the protection on the directory file is changed. (You know --
- some ATTRIBUTE of the file is changed, not the data.) (RMS then
- is used and it doesn't seem to "care" that it is looking at a
- directory file.)
-
- 2. If the disk on which the directory is stored is dumped and reloaded.
- BACKUP doesn't bother to restore the dates on directory files. (This
- has always been one of those minor pet peeves.)
-
- I believe that, in general, directory files are managed by the XQP (ACP),
- and not by RMS. For optimization reasons, I'm sure, you don't really
- want to be updating the headers of directory files every time the contents
- of the directory changes. Modifying the data is time consuming enough. :)
-
- -Derek S. Haining
- University Computing Services
- University of Washington
- Seattle, Washington 98195
- (206) 543-5579
-
- DEREK@MAX.BITNET
- DEREK@MAX.U.WASHINGTON.EDU
-
-