From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 02:50:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2507E16A4CE for ; Mon, 2 Feb 2004 02:50:46 -0800 (PST) Received: from spam2.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 28CF443D3F for ; Mon, 2 Feb 2004 02:50:42 -0800 (PST) (envelope-from nospam@users.sourceforge.net) Received: (snipe 2138 invoked by alias); 2 Feb 2004 19:50:39 +0900(KST) Received: from nospam@users.sourceforge.net with SpamSniper2.76 (Processed in 0.042429 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 2 Feb 2004 19:50:38 +0900(KST) X-RCPTTO: freebsd-questions@freebsd.org, Received: from users.sourceforge.net ([147.46.44.183]) by sis1.snu.ac.kr (8.12.10/8.12.10) with ESMTP id i12AlWHO123656 for ; Mon, 2 Feb 2004 19:47:33 +0900 Message-ID: <401E2B83.50601@users.sourceforge.net> Date: Mon, 02 Feb 2004 19:50:43 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040119 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: diskless operation: swapfile setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 10:50:46 -0000 Hi, I had trouble to get the swapfile setup, as explained in the handbook (chapter "diskless operation"). I failed and then decided to do it in a more manual fashion: The diskless rc.conf has a line 'swapfile="/home/swapfile"', where home is a read/write nfs filesystem from the server. This seems to work fine. Of course on the server, I have created a /home/swapfile of 64 Mb. The good thing is here, that no start-up script needs to know the size of this swapfile! Now my question is: Is my setup so much worse than the one suggested in the handbook, where /etc/bootptab sets the two T128 and T129 variables (note that in this case I need to tell /etc/bootptab the exact size of the swapfile via T129) ? Any ideas? Thanks, Rob.