home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!munnari.oz.au!metro!usage!news
- From: troy@cbme.unsw.EDU.AU (Troy Rollo)
- Subject: Re: Linking /tmp off of root file system
- Message-ID: <1992Aug31.070303.25158@usage.csd.unsw.OZ.AU>
- Sender: news@usage.csd.unsw.OZ.AU
- Nntp-Posting-Host: strummer.cbme.unsw.edu.au
- Organization: University of New South Wales
- References: <dtb.715225819@otto>
- Date: Mon, 31 Aug 1992 07:03:03 GMT
- Lines: 23
-
- From article <dtb.715225819@otto>, by dtb@otto.bf.rmit.oz.au (David Bath):
- > 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.
-
- There is an easy way around this problem. Snce mount requires that the
- mountpoint itself be a directory, then /usr must be a directory before
- the real /usr is mounted. Thus all you need to do to ensure that a
- /tmp is always available is to go into single user mode, and:
-
- mkdir /usr/tmp
- chmod ugo+rwx /usr/tmp
- chmod +t /usr/tmp
-
- I have used this configuration on a machine with little space left
- on the root volume.
- --
- __________________________________________________________________________
- troy@cbme.unsw.EDU.AU Overworked, overcommited and always multitasking.
-