home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!odin!fido!zola!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.unix.admin
- Subject: Re: Linking /tmp off of root file system
- Message-ID: <p5pdis0@zuni.esd.sgi.com>
- Date: 29 Aug 92 05:02:29 GMT
- References: <BtLvLw.LzH@news.cso.uiuc.edu>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 23
-
- In <BtLvLw.LzH@news.cso.uiuc.edu> 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.
-
- Just mkdir /usr/tmp before /usr is mounted, while in single user
- mode. You probably want to add something to clean it up on reboot
- before /usr is mounted also, so you don't run your root partition
- out of space 'invisibly'.
-
- For most current versions of unix, you can also set the TMPDIR
- environment variable, and have many programs respect that for
- the location of temp files.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-