home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.apps
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!paladin.american.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!ames!agate!dog.ee.lbl.gov!news!avalon.nwc.navy.mil!pluto!dejesus
- From: dejesus@pluto.nwc.navy.mil (Francisco X DeJesus)
- Subject: Re: Putting /tmp in /usr (was Re: Can f77 be taught not to use /tmp?)
- Message-ID: <C1Hr8o.D9o@avalon.nwc.navy.mil>
- Sender: usenet@avalon.nwc.navy.mil (NWC News Admin)
- Organization: Science Applications International Corp.
- References: <1993Jan20.185627.19507@mapsut.einstein.com> <447@ftms.UUCP> <1jsvihINNfe5@moe.ksu.ksu.edu>
- Date: Wed, 27 Jan 1993 02:36:23 GMT
- Lines: 38
-
- In article <1jsvihINNfe5@moe.ksu.ksu.edu> rjq@phys.ksu.edu (Rob Quinn) writes:
- >In <447@ftms.UUCP> brown@ftms.UUCP (Vidiot) writes:
- >[talking about making f77 use something other than a small /tmp]
- >>While this isn't a perfect solution, all of our systems have been reconfigured
- >>so that none of the temp space is in / (root). Sun's brilliant idea of
- >>providing temp directories in a filesystem that is way too small is rediculous
- >>So, the following is done:
- >> rm -r /tmp /var/tmp /usr/tmp
- >> mkdir /usr/tmp
- >> chmod 777 /usr/tmp
- >> ln -s /usr/tmp /tmp
- >> ln -s /usr/tmp /var/tmp
-
- There are potential problems with setting up /tmp as a symbolic link... most
- will come up when you are trying to do any kind of system maintenance in
- single-user mode (which means you probably already have at least one problem,
- and the last thing you need is a few more!). You can always have /tmp
- be a separate partition, or look into using tmpfs (sharing tmp and swap
- space). Both these methods have worked flawlessly for me...
-
- > It's very common to share /usr between machines. Won't your method cause
- >a lot of problems? I thought the whole idea behind /usr was that it would
- >contain files that never (rarely) changed, and that didn't need to be tailored
-
- That's true... keeping /usr for "more permanent" files makes for a more
- stable filesystem... and you want your system partition to be as stable
- as possible! It also helps in the access time for disk reads/writes to keep
- stable/volatile partitions separate...
-
- >to each host. Host specific files go in / or /var.
- > Also, I would suggest a 'chmod +t' on your temp directories.
-
- Yup.
- --
- Francisco X DeJesus ----- S A I C ----- dejesus@chinalake.navy.mil
- ------------------------------------------------------------------------------
- * disclaimer: Opinions expressed here are mine. Typos and errors are yours *
- "Duck Season!" "Rabbit Season!" "...rabbit season." "It's Duck Season! SHOOT!"
-