home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / vms / 13706 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  2.0 KB

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