home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / sysadmin / 6525 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  2.4 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!rpi!usenet
  2. From: gad@eclipse.its.rpi.edu (Garance A. Drosehn)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Re: Swap File
  5. Message-ID: <lvv1fq@rpi.edu>
  6. Date: 16 Nov 92 08:50:23 GMT
  7. References: <1992Nov15.015802.14868@chiton.ucsd.edu>
  8. Lines: 46
  9. Nntp-Posting-Host: eclipse.its.rpi.edu
  10.  
  11. > In article <1992Nov14.220947.2367@eps.com> steve@eps.com writes:
  12. > >How can I move the  swap file on another hard drive besides the
  13. > >startup drive?  We have 2 drives in our NeXT Dimension system
  14. > >and our startup drive is almost full.
  15.  
  16. First off, make sure the other hard drive (the one you're not booting off  
  17. of) is listed in /etc/fstab.  Second, edit the entry in /etc/swaptab to  
  18. point to the appropriate file on the second disk.  Make sure that this file  
  19. (and all directories in the pathname of the file) are setup and permitted  
  20. the same as /private/vm/swapfile.  Presumably you'd just have the same  
  21. filename on the second disk.
  22.  
  23. If you have the man pages, check out:
  24.     man swaptab
  25.  
  26. This is how a friend of mine had things set up, when he had two hard disks,  
  27. both of which were bootable (one had the minimum system, one had the entire  
  28. extended release, and both systems were setup to use the exact same file for  
  29. their swapping).
  30.  
  31. cdl@chiton.ucsd.edu (Carl Lowenstein) wrote, when
  32.            answering the above:
  33. > Here are my notes on how I did it recently.
  34. > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
  35. > I finally figured how to get the swapfile out of the root file system.
  36. > While working with somebody else's new Turbo Color Station, with the
  37. > new ADB keyboard and everything.
  38. > So -- my approach is the following:  get swap off the root file system,
  39. > thus freeing 16MB and also making lots of room for Mathematica to play.
  40. > Put users on the external disk.  Put /usr/tmp on the external disk instead
  41. > of soft-linked to /tmp.
  42. > Procedure:  (external disk is Dext, and is mkfs'd by now)
  43.       [skipping over details of doing the same thing via
  44.        symbolic links - gad]
  45.  
  46. This seems to me to be a little too tricky, and I don't see what advantage  
  47. it buys you over just editting the swaptab file (which, after all, was  
  48. designed for precisely this task).
  49.  
  50.  
  51. --
  52. Garance Alistair Drosehn     =     gad@eclipse.its.rpi.edu
  53. ITS Systems Programmer            (handles NeXT-type mail)
  54. Rensselaer Polytechnic Institute;           Troy NY    USA
  55.