home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!goanna!minyos.xx.rmit.oz.au!dtb
- From: dtb@otto.bf.rmit.oz.au (David Bath)
- Newsgroups: comp.unix.admin
- Subject: Re: Linking /tmp off of root file system
- Message-ID: <dtb.715225819@otto>
- Date: 31 Aug 92 01:50:19 GMT
- References: <BtLvLw.LzH@news.cso.uiuc.edu>
- Sender: usenet@minyos.xx.rmit.oz.au (Njuiz noveles nova newes)
- Organization: RMIT Computer Centre, Melbourne Australia.
- Lines: 26
-
- walder@alexia.lis.uiuc.edu (John Walder) writes:
-
-
- > Our root file system is nearly full. Thus it overflows periodically since
- > vi and mail have /tmp hardcoded in them for creating temporary files.
- > What problems might arise if we did the following?
- > mv tmp tmp.save
- > ln -s /usr/tmp /tmp
- > One problem I foresee is that /usr is not mounted in single user mode.
-
- The other thing to remember is to look at the TMPDIR variable used by
- some of the temporary file creation functions such as mktemp, tempnam
- et al. This is quite handy and can point to another disk WHEN you
- are in multiuser mode ---- /etc/profile can check which disks are
- mounted and set TMPDIR accordingly.
-
- You could then check whether your vi uses $TMPDIR or get a clone such as
- elvis and ensure that it does (ain't source code great!)
-
- Regards
-
- ========================================================================
- David T. Bath
- email: dtb@otto.bf.rmit.oz.au
- Work: Global Technology Corporation, Carlton, Vic, OZ (03) 3477511
- =======================================================================
-