home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / apps / 3113 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.5 KB  |  50 lines

  1. Newsgroups: comp.sys.sun.apps
  2. 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
  3. From: dejesus@pluto.nwc.navy.mil (Francisco X DeJesus)
  4. Subject: Re: Putting /tmp in /usr (was Re: Can f77 be taught not to use /tmp?)
  5. Message-ID: <C1Hr8o.D9o@avalon.nwc.navy.mil>
  6. Sender: usenet@avalon.nwc.navy.mil (NWC News Admin)
  7. Organization: Science Applications International Corp.
  8. References: <1993Jan20.185627.19507@mapsut.einstein.com> <447@ftms.UUCP> <1jsvihINNfe5@moe.ksu.ksu.edu>
  9. Date: Wed, 27 Jan 1993 02:36:23 GMT
  10. Lines: 38
  11.  
  12. In article <1jsvihINNfe5@moe.ksu.ksu.edu> rjq@phys.ksu.edu (Rob Quinn) writes:
  13. >In <447@ftms.UUCP> brown@ftms.UUCP (Vidiot) writes:
  14. >[talking about making f77 use something other than a small /tmp]
  15. >>While this isn't a perfect solution, all of our systems have been reconfigured
  16. >>so that none of the temp space is in / (root).  Sun's brilliant idea of
  17. >>providing temp directories in a filesystem that is way too small is rediculous
  18. >>So, the following is done:
  19. >>    rm -r /tmp /var/tmp /usr/tmp
  20. >>    mkdir /usr/tmp
  21. >>    chmod 777 /usr/tmp
  22. >>    ln -s /usr/tmp /tmp
  23. >>    ln -s /usr/tmp /var/tmp
  24.  
  25. There are potential problems with setting up /tmp as a symbolic link... most
  26. will come up when you are trying to do any kind of system maintenance in
  27. single-user mode (which means you probably already have at least one problem,
  28. and the last thing you need is a few more!). You can always have /tmp
  29. be a separate partition, or look into using tmpfs (sharing tmp and swap
  30. space). Both these methods have worked flawlessly for me...
  31.  
  32. > It's very common to share /usr between machines. Won't your method cause
  33. >a lot of problems? I thought the whole idea behind /usr was that it would
  34. >contain files that never (rarely) changed, and that didn't need to be tailored
  35.  
  36. That's true... keeping /usr for "more permanent" files makes for a more
  37. stable filesystem... and you want your system partition to be as stable
  38. as possible! It also helps in the access time for disk reads/writes to keep
  39. stable/volatile partitions separate...
  40.  
  41. >to each host. Host specific files go in / or /var.
  42. > Also, I would suggest a 'chmod +t' on your temp directories.
  43.  
  44. Yup.
  45. -- 
  46.       Francisco X DeJesus  ----- S A I C -----  dejesus@chinalake.navy.mil
  47.  ------------------------------------------------------------------------------
  48.   * disclaimer: Opinions expressed here are mine. Typos and errors are yours *
  49.  "Duck Season!" "Rabbit Season!" "...rabbit season." "It's Duck Season! SHOOT!"
  50.