home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / admin / 4793 < prev    next >
Encoding:
Text File  |  1992-08-30  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!munnari.oz.au!metro!usage!news
  3. From: troy@cbme.unsw.EDU.AU (Troy Rollo)
  4. Subject: Re: Linking /tmp off of root file system
  5. Message-ID: <1992Aug31.070303.25158@usage.csd.unsw.OZ.AU>
  6. Sender: news@usage.csd.unsw.OZ.AU
  7. Nntp-Posting-Host: strummer.cbme.unsw.edu.au
  8. Organization: University of New South Wales
  9. References: <dtb.715225819@otto>
  10. Date: Mon, 31 Aug 1992 07:03:03 GMT
  11. Lines: 23
  12.  
  13. From article <dtb.715225819@otto>, by dtb@otto.bf.rmit.oz.au (David Bath):
  14. > walder@alexia.lis.uiuc.edu (John Walder) writes:
  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. >> What problems might arise if we did the following?
  18. >>   mv tmp tmp.save
  19. >>   ln -s /usr/tmp /tmp
  20. >> One problem I foresee is that /usr is not mounted in single user mode.
  21.  
  22. There is an easy way around this problem. Snce mount requires that the
  23. mountpoint itself be a directory, then /usr must be a directory before
  24. the real /usr is mounted. Thus all you need to do to ensure that a
  25. /tmp is always available is to go into single user mode, and:
  26.  
  27.         mkdir /usr/tmp
  28.         chmod ugo+rwx /usr/tmp
  29.         chmod +t /usr/tmp
  30.  
  31. I have used this configuration on a machine with little space left
  32. on the root volume.
  33. --
  34. __________________________________________________________________________
  35. troy@cbme.unsw.EDU.AU    Overworked, overcommited and always multitasking.
  36.