From owner-cvs-all@FreeBSD.ORG Fri Aug 15 05:04:03 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6907637B401; Fri, 15 Aug 2003 05:04:03 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14C8643FBD; Fri, 15 Aug 2003 05:04:03 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7FC420U050761; Fri, 15 Aug 2003 05:04:02 -0700 (PDT) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7FC42rq050760; Fri, 15 Aug 2003 05:04:02 -0700 (PDT) Message-Id: <200308151204.h7FC42rq050760@repoman.freebsd.org> From: Poul-Henning Kamp Date: Fri, 15 Aug 2003 05:04:02 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsclient bootp_subr.c nfs_diskless.c nfs_vfsops.c nfsdiskless.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2003 12:04:03 -0000 phk 2003/08/15 05:04:02 PDT FreeBSD src repository Modified files: sys/nfsclient bootp_subr.c nfs_diskless.c nfs_vfsops.c nfsdiskless.h Log: Remove the magic way of configuring NFS backed swap. This code dates back to the very first diskless support on FreeBSD, back when swapon(8) couldn't simply be run on a NFS backed file. Suggested replacement command sequence on the client: dd if=/dev/zero of=/swapfile bs=1k count=1 oseek=100000 swapon /swapfile rm -f /swapfile For whatever value of 100000 you want. Revision Changes Path 1.51 +0 -163 src/sys/nfsclient/bootp_subr.c 1.4 +0 -2 src/sys/nfsclient/nfs_diskless.c 1.137 +0 -63 src/sys/nfsclient/nfs_vfsops.c 1.15 +1 -15 src/sys/nfsclient/nfsdiskless.h