Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: suntan!tots!asimov!louis@sun.com (Louis Brune x403) Newsgroups: comp.sys.sun Subject: Re: Kernel Building and cmdtool? Keywords: SunOS Message-ID: <8902280040.AA00471@asimov.tots.uucp> Date: 8 Mar 89 15:25:02 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 28 Approved: Sun-Spots@rice.edu Original-Date: Mon, 27 Feb 89 16:40:47 PST X-Sun-Spots-Digest: Volume 7, Issue 187, message 6 of 15 We have a couple of dual swap machines. Be brave (after making backups) and try: In the config file: config vmunix root on rf0 swap on rf0 and rf1 (Fix the rf to be whatever you really use.) In /etc/fstab: /dev/rf1b 0 swap swap 0 0 The zeroes, I'm told, are irrelevant. Experience says they don't hurt anything. (Once again, you probably don't have rf.) In /etc/rc: /usr/etc/swapon -a We have this immediately after the invocation of rc.local. I suppose one might also put it in rc.local. That ought to do it. Now rebuild the kernel according to standard procedures, do the cp of vmunix, and use pstat -s to verify your success. The number you're looking for is the sum of used and free. If you did this before you started, comparing them will provide a bit of a morale boost. Also, swapping on two drives seems to make the thing work better.