home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!lhdsy1!usho93!usho92.hou281.chevron.com!hjgwi
- From: hjgwi@usho92.hou281.chevron.com (Jay G. Williamson)
- Newsgroups: comp.unix.admin
- Subject: Re: Linking /tmp off of root file system
- Message-ID: <1992Sep1.094207@usho92.hou281.chevron.com>
- Date: 1 Sep 92 14:42:07 GMT
- References: <BtLvLw.LzH@news.cso.uiuc.edu>
- Sender: news@usho93.hou281.chevron.com (USENET News System)
- Distribution: usa
- Organization: Chevron
- Lines: 36
-
- In article <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.
- |>
- |> Thanks!
- |>
- |> - John
- |> --
- |>
- |> John Walder (j-walder@uiuc.edu) 420 DKH, 1407 W. Gregory Drive, Urbana IL 61801
- |> University of Illinois :: Graduate School of Library and Information Science
-
-
- We do this quite a bit. On Ultrix, the only problem we have found is what
- you describe with /tmp and /usr/tmp in single user mode. On Suns there are
- additional things to consider. Sun decided to do a "rm -f /tmp/*" BEFORE
- /var is mounted. Since /usr/tmp is usually a link to /var/tmp then /var/tmp
- is never cleared. This is a feature/problem. For instance, if OpenWindows
- is running when the Sun crashes then a lock file remains in /var/tmp and
- does not get cleared.
-
- In general, linking /tmp to something else has worked out very well but there
- are some quirks.
-
- --
- Jay Williamson Chevron Info. Technology
- UNIX System Administrator 2811 Hayes Road Phone: 713-596-3139
- hjgwi@hou281.chevron.com Houston, Tx 77082 FAX: 713-596-3041
-