home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / shell / 4574 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!decprl!decprl!boyd
  3. From: boyd@prl.dec.com (Boyd Roberts)
  4. Subject: Re: RM LOGIC
  5. Message-ID: <1992Nov6.132332.218@prl.dec.com>
  6. Sender: news@prl.dec.com (USENET News System)
  7. Nntp-Posting-Host: prl313.prl.dec.com
  8. Organization: Digital Equipment Corporation - Paris Research Laboratory
  9. References: <1992Nov2.131722.27419@polari> <MERLYN.92Nov2131214@romulus.reed.edu> <MERLYN.92Nov3110424@romulus.reed.edu> <1559@rand.mel.cocam.oz.au>
  10. Date: Fri, 6 Nov 1992 13:23:32 GMT
  11. Lines: 27
  12.  
  13. In article <1559@rand.mel.cocam.oz.au>, twp@rand.mel.cocam.oz.au (Tony Payne CSD) writes:
  14. > Nor have I ever seen a UNIX beastie like that. It seems to boil down to the
  15. > fact that most files don't ever have their inode changed, except when they are
  16. > created. So in most cases inode change time corresponds to creation time.
  17. > Just another idiotic historical hangover.
  18.  
  19. Well it always good to add more noise into the signal.  The inode change
  20. time changes when the inode data changes.  Most of the time this occurs
  21. on writes, but also ocurrs on chmod, chown etc but they are probably
  22. less frequent.  So the ctime would indicate a files creation time in
  23. this one case alone:  a file that has only had creat operations.
  24.  
  25. So, you want an example:
  26.  
  27.     prl313 ; work/sheraton/walk hosts
  28.     721054655 721054676 721054655 664 - hosts
  29.  
  30. What we see here is that the ctime and mtime are equivalent, whereas
  31. the atime is somewhat later.  I clicked on write in `sam' at 721054655
  32. and then read the file 21 seconds later at 721054676.
  33.  
  34.  
  35. Boyd Roberts            boyd@prl.dec.com
  36.  
  37. ``Not only is UNIX dead, it's starting to smell really bad.''  -- Rob Pike
  38.