Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2003 10:39:42 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/nfsclient bootp_subr.c nfs_diskless.c nfs_vfsops.c nfsdiskless.h
Message-ID:  <20030816010942.GC8274@wantadilla.lemis.com>
In-Reply-To: <200308151204.h7FC42rq050760@repoman.freebsd.org>
References:  <200308151204.h7FC42rq050760@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--DSayHWYpDlRfCAAQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--DSayHWYpDlRfCAAQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE/PYRVIubykFB6QiMRAhQ8AJ4tosPwc5i57rbuqoQpz5pESIMgAACfckNa
27lOfhDDnEKTADcKwQWNNSc=
=nKSQ
-----END PGP SIGNATURE-----

--DSayHWYpDlRfCAAQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030816010942.GC8274>