home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / misc / 3374 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!gatech!destroyer!fmsrl7!lynx!zia.aoc.nrao.edu!rmilner
  3. From: rmilner@zia.aoc.nrao.edu (Ruth Milner)
  4. Subject: Re: Why does OW leave all kind of garbage in tmp?
  5. Message-ID: <1992Jul29.001208.1190@zia.aoc.nrao.edu>
  6. Reply-To: rmilner@zia.aoc.nrao.edu (Ruth Milner)
  7. Organization: National Radio Astronomy Observatory, Socorro NM
  8. References: <1843@ltb.ltb.bso.nl> <1992Jul23.184344.15206@cbfsb.cb.att.com> <CKD.92Jul23233441@loiosh.eff.org>
  9. Date: Wed, 29 Jul 92 00:12:08 GMT
  10. Lines: 21
  11.  
  12. In article <CKD.92Jul23233441@loiosh.eff.org> ckd@eff.org (Christopher Davis) writes:
  13. >HEM> == hillel.e.markowitz  <hillel@cbnewsf.cb.att.com> 
  14. >
  15. > HEM> I would say that putting the following crontab (or similar) should
  16. > HEM> be enough.
  17. >
  18. > HEM> 5 4 * * 6 rm -f /tmp/*
  19. > HEM> Of course this assumes that nobody leaves anything important on /tmp.
  20. >
  21. >Like their /tmp/.X11-unix/* sockets for example?  
  22. >
  23. >More than one person has found something breaking after a similar
  24. >crontab was installed.  
  25.  
  26. "rm -f /tmp/*" won't delete either files with names beginning with ".", or 
  27. subdirectories. So the OW stuff is safe from the above command on both counts.
  28.  
  29. Now, if you say "rm -rf /tmp/* /tmp/.[0-z]*", *then* you have problems ...
  30. -- 
  31. Ruth Milner                          NRAO/VLA                  Socorro NM
  32. Computing Division Head      rmilner@zia.aoc.nrao.edu
  33.