home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / admin / 4813 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.8 KB

  1. Path: sparky!uunet!lhdsy1!usho93!usho92.hou281.chevron.com!hjgwi
  2. From: hjgwi@usho92.hou281.chevron.com (Jay G. Williamson)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: Linking /tmp off of root file system
  5. Message-ID: <1992Sep1.094207@usho92.hou281.chevron.com>
  6. Date: 1 Sep 92 14:42:07 GMT
  7. References: <BtLvLw.LzH@news.cso.uiuc.edu>
  8. Sender: news@usho93.hou281.chevron.com (USENET News System)
  9. Distribution: usa
  10. Organization: Chevron
  11. Lines: 36
  12.  
  13. In article <BtLvLw.LzH@news.cso.uiuc.edu>, walder@alexia.lis.uiuc.edu (John Walder) writes:
  14. |> 
  15. |>  Our root file system is nearly full. Thus it overflows periodically since
  16. |>  vi and mail have /tmp hardcoded in them for creating temporary files.
  17. |> 
  18. |>  What problems might arise if we did the following?
  19. |> 
  20. |>    mv tmp tmp.save
  21. |>    ln -s /usr/tmp /tmp
  22. |> 
  23. |>  One problem I foresee is that /usr is not mounted in single user mode.
  24. |> 
  25. |>  Thanks!
  26. |> 
  27. |>  - John
  28. |> --
  29. |> 
  30. |> John Walder (j-walder@uiuc.edu) 420 DKH, 1407 W. Gregory Drive, Urbana IL 61801
  31. |>   University of Illinois :: Graduate School of Library and Information Science
  32.  
  33.  
  34. We do this quite a bit.  On Ultrix, the only problem we have found is what
  35. you describe with /tmp and /usr/tmp in single user mode.  On Suns there are
  36. additional things to consider.  Sun decided to do a "rm -f /tmp/*" BEFORE
  37. /var is mounted.  Since /usr/tmp is usually a link to /var/tmp then /var/tmp
  38. is never cleared.  This is a feature/problem.  For instance, if OpenWindows
  39. is running when the Sun crashes then a lock file remains in /var/tmp and
  40. does not get cleared.
  41.  
  42. In general, linking /tmp to something else has worked out very well but there
  43. are some quirks.
  44.  
  45. -- 
  46. Jay Williamson              Chevron Info. Technology
  47. UNIX System Administrator   2811 Hayes Road               Phone: 713-596-3139
  48. hjgwi@hou281.chevron.com    Houston, Tx  77082            FAX:   713-596-3041
  49.