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

  1. Path: sparky!uunet!munnari.oz.au!goanna!minyos.xx.rmit.oz.au!dtb
  2. From: dtb@otto.bf.rmit.oz.au (David Bath)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: Linking /tmp off of root file system
  5. Message-ID: <dtb.715225819@otto>
  6. Date: 31 Aug 92 01:50:19 GMT
  7. References: <BtLvLw.LzH@news.cso.uiuc.edu>
  8. Sender: usenet@minyos.xx.rmit.oz.au (Njuiz noveles nova newes)
  9. Organization: RMIT Computer Centre, Melbourne Australia.
  10. Lines: 26
  11.  
  12. walder@alexia.lis.uiuc.edu (John Walder) writes:
  13.  
  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. > 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. The other thing to remember is to look at the TMPDIR variable used by
  23. some of the temporary file creation functions such as mktemp, tempnam
  24. et al.  This is quite handy and can point to another disk WHEN you
  25. are in multiuser mode ---- /etc/profile can check which disks are
  26. mounted and set TMPDIR accordingly.
  27.  
  28. You could then check whether your vi uses $TMPDIR or get a clone such as
  29. elvis and ensure that it does (ain't source code great!)
  30.  
  31. Regards
  32.  
  33. ========================================================================
  34. David T. Bath
  35. email:     dtb@otto.bf.rmit.oz.au
  36. Work:     Global Technology Corporation, Carlton, Vic, OZ  (03) 3477511
  37. =======================================================================
  38.