From owner-freebsd-hackers Sat Apr 1 22:38:36 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA24430 for hackers-outgoing; Sat, 1 Apr 1995 22:38:36 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA24423 for ; Sat, 1 Apr 1995 22:38:32 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id WAA00168; Sat, 1 Apr 1995 22:38:18 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id WAA00228; Sat, 1 Apr 1995 22:38:18 -0800 Message-Id: <199504020638.WAA00228@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: jkh@violet.berkeley.edu (Jordan K. Hubbard) cc: hackers@FreeBSD.org Subject: Re: any interest? In-reply-to: Your message of "Sat, 01 Apr 95 22:29:57 PST." <199504020629.WAA24567@violet.berkeley.edu> From: David Greenman Reply-To: davidg@Root.COM Date: Sat, 01 Apr 1995 22:38:16 -0800 Sender: hackers-owner@FreeBSD.org Precedence: bulk >In article <3kv3v0$jq7@park.uvsc.edu> Terry Lambert 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