cvs commit: src/sys/nfsclient bootp_subr.c nfs_diskless.c
nfs_vfsops.c nfsdiskless.h
Greg 'groggy' Lehey
grog at FreeBSD.org
Fri Aug 15 18:09:52 PDT 2003
On Friday, 15 August 2003 at 5:04:02 -0700, Poul-Henning Kamp wrote:
> 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.
I'm confused. Why was this necessary? Which is the "magic" way? Is
the rm -f /swapfile really necessary, or just a foot guard?
Greg
--
See complete headers for address and phone numbers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030816/5febf62a/attachment.bin
More information about the cvs-src
mailing list