From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8bea33ee5ee11fce87bca1ddb7d6b62a@plan9.escet.urjc.es> To: 9fans@cse.psu.edu Subject: Re: [9fans] swap swap? From: Fco.J.Ballesteros In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ssgtdjvgxbextrwdsvqjnabzeh" Date: Tue, 22 Apr 2003 09:27:02 +0200 Topicbox-Message-UUID: 9470ffa4-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-ssgtdjvgxbextrwdsvqjnabzeh Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I have this in /rc/bin/cpurc if (test -e /dev/sdC0/swap) swap /dev/sdC0/swap But beware, I've seen complaints about `not enough memory' in those weird circumstances when swap was used a lot in our system. It's much better to add more memory. --upas-ssgtdjvgxbextrwdsvqjnabzeh Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by aquamar; Tue Apr 22 02:53:29 MDT 2003 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.8.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 9F8CC19A33; Mon, 21 Apr 2003 20:53:10 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from fbsd.cpsc.ucalgary.ca (fbsd.cpsc.ucalgary.ca [136.159.7.68]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 95BCB199BB for <9fans@cse.psu.edu>; Mon, 21 Apr 2003 20:52:43 -0400 (EDT) Received: from fbsd.cpsc.ucalgary.ca (localhost.localdomain [127.0.0.1]) by fbsd.cpsc.ucalgary.ca (8.12.8/8.12.8) with ESMTP id h3M0sFY3020754 for <9fans@cse.psu.edu>; Mon, 21 Apr 2003 18:54:20 -0600 Received: from localhost (mirtchov@localhost) by fbsd.cpsc.ucalgary.ca (8.12.8/8.12.8/Submit) with ESMTP id h3M0s76Y020750 for <9fans@cse.psu.edu>; Mon, 21 Apr 2003 18:54:15 -0600 X-Authentication-Warning: fbsd.cpsc.ucalgary.ca: mirtchov owned process doing -bs From: andrey mirtchovski To: 9fans@cse.psu.edu Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [9fans] swap swap? Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 21 Apr 2003 18:54:07 -0600 (MDT) hi, how does plan9 turn on swap? i was just playing with some memory-intensive stuff when it crashed with 'swap not configured' printed on the console. i ran 'swap /dev/sdC0/swap' immediately and that solved my problem, but how do i make it permanent? just put it in /rc/bin/cpurc? andrey --upas-ssgtdjvgxbextrwdsvqjnabzeh--