Date: Sat, 01 Apr 1995 22:38:16 -0800 From: David Greenman <davidg@Root.COM> To: jkh@violet.berkeley.edu (Jordan K. Hubbard) Cc: hackers@FreeBSD.org Subject: Re: any interest? Message-ID: <199504020638.WAA00228@corbin.Root.COM> In-Reply-To: Your message of "Sat, 01 Apr 95 22:29:57 PST." <199504020629.WAA24567@violet.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>In article <3kv3v0$jq7@park.uvsc.edu> Terry Lambert <terry@cs.weber.edu> writes: > >> The way to create swapfiles is to use the command: >> >> dd if=/dev/zero count=XXX,bs=YYY of=my_swap_file >> >> Where you replace XXX and YYY with whatever you want to get any >> size of swap file. > >The usual way under SunOS is 'mkfile 4m /some/file'. This way >no disk blocks are allocated until they are actually needed. >Here is a clone implementation of mkfile, done by Robert Claeson >(prc@erbe.se). Swapfiles should be pre-allocated to maximize contiguousness. -DG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504020638.WAA00228>