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