Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2003 09:11:43 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Peter Jeremy <PeterJeremy@optushome.com.au>
Cc:        hackers@freebsd.org
Subject:   Re: cvs commit: src/sys/nfsclient bootp_subr.c nfs_diskless.c nfs_vfsops.c nfsdiskless.h 
Message-ID:  <18441.1061017903@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 16 Aug 2003 12:47:53 %2B1000." <20030816024753.GA74853@cirb503493.alcatel.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030816024753.GA74853@cirb503493.alcatel.com.au>, Peter Jeremy wri
tes:
>[Redirected to -hackers because this isn't directly relevant to the
> actual code committed]
>
>On Fri, Aug 15, 2003 at 05:04:02AM -0700, Poul-Henning Kamp wrote:
>>  Suggested replacement command sequence on the client:
>>  
>>          dd if=/dev/zero of=/swapfile bs=1k count=1 oseek=100000
>>          swapon /swapfile
>
>This results in a sparse swapfile.

You don't _have_ to make it a sparse file, you are free to preallocate
the entire file if that is important to you.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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