Date: Fri, 15 Aug 2003 05:04:02 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient bootp_subr.c nfs_diskless.c nfs_vfsops.c nfsdiskless.h Message-ID: <200308151204.h7FC42rq050760@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308151204.h7FC42rq050760>