home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / misc / 23708 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!unixg.ubc.ca!usenet
  2. From: paterson@gdss.commerce.ubc.ca (Toby Paterson)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Re: .nfs*** files getting left all over
  5. Date: 12 Jan 1993 07:03:24 GMT
  6. Organization: The University of British Columbia
  7. Lines: 27
  8. Message-ID: <1itqfsINNdes@iskut.ucs.ubc.ca>
  9. References: <7325@ucsbcsl.ucsb.edu>
  10. Reply-To: paterson@gdss.commerce.ubc.ca
  11. NNTP-Posting-Host: gdss.commerce.ubc.ca
  12.  
  13. In article <7325@ucsbcsl.ucsb.edu> doug@foxtrot.ccmrc.ucsb.edu (Douglas  
  14. Scott) writes:
  15. > I am finding lots of files named .nfs*** (usually *** = numbers) left  
  16. around
  17. > on our filesystem.  They seem to be created when using <command>-r to  
  18. delete
  19. > files that are on remote filesystems, and I am not sure, but it appears  
  20. that
  21. > they do not clear up on their own.
  22.  
  23. I have this line in my daily script file:
  24.  
  25. # Clean out old .nfs files.
  26. find / -name .nfs\* -mtime +7 -exec rm -f {} \; -o -fstype nfs -prune
  27.  
  28. I know I didn't put it there, so I assume it came with the system.  This  
  29. command will search the entire file system for any and all .nfs*** files  
  30. which have been modified in the past week and remove them.
  31.  
  32. X
  33.  
  34. --
  35. \\  /    Who:   Toby Paterson
  36.  \\/     How:   tpaterso@cs.ubc.ca, paterson@gdss.commerce.ubc.ca
  37.  //\     What:  Grunt and NeXT hacker; GDSS Fellowship
  38. //  \    Where: University of British Columbia
  39.