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

  1. Path: sparky!uunet!olivea!sgigate!odin!fido!zola!zuni!anchor!olson
  2. From: olson@anchor.esd.sgi.com (Dave Olson)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: Linking /tmp off of root file system
  5. Message-ID: <p5pdis0@zuni.esd.sgi.com>
  6. Date: 29 Aug 92 05:02:29 GMT
  7. References: <BtLvLw.LzH@news.cso.uiuc.edu>
  8. Sender: news@zuni.esd.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.  Mountain View, CA
  10. Lines: 23
  11.  
  12. In <BtLvLw.LzH@news.cso.uiuc.edu> walder@alexia.lis.uiuc.edu (John Walder) writes:
  13. |  Our root file system is nearly full. Thus it overflows periodically since
  14. |  vi and mail have /tmp hardcoded in them for creating temporary files.
  15. |  What problems might arise if we did the following?
  16. |    mv tmp tmp.save
  17. |    ln -s /usr/tmp /tmp
  18. |  One problem I foresee is that /usr is not mounted in single user mode.
  19.  
  20. Just mkdir /usr/tmp before /usr is mounted, while in single user
  21. mode.  You probably want to add something to clean it up on reboot
  22. before /usr is mounted also, so you don't run your root partition
  23. out of space 'invisibly'.
  24.  
  25. For most current versions of unix, you can also set the TMPDIR
  26. environment variable, and have many programs respect that for
  27. the location of temp files.
  28. --
  29. Let no one tell me that silence gives consent,  |   Dave Olson
  30. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  31.     Maria Isabel Barreno                        |   olson@sgi.com
  32.