cvs commit: src/sys/nfsclient bootp_subr.c nfs_diskless.c
nfs_vfsops.c nfsdiskless.h
Poul-Henning Kamp
phk at FreeBSD.org
Fri Aug 15 05:04:03 PDT 2003
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
More information about the cvs-src
mailing list