cvs commit: src/sys/nfsclient bootp_subr.c nfs_diskless.c nfs_vfsops.c nfsdiskless.h

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Aug 16 00:11:48 PDT 2003


In message <20030816024753.GA74853 at 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 at 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.


More information about the freebsd-hackers mailing list