From owner-freebsd-arch Tue Feb 13 5:58:50 2001 Delivered-To: freebsd-arch@freebsd.org Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by hub.freebsd.org (Postfix) with ESMTP id 9A78137B4EC for ; Tue, 13 Feb 2001 05:58:48 -0800 (PST) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by anchor-post-30.mail.demon.net with esmtp (Exim 2.12 #1) id 14Sfyh-0003JX-0U; Tue, 13 Feb 2001 13:58:47 +0000 Received: from herring (herring [10.0.0.2]) by herring.nlsystems.com (8.11.1/8.8.8) with ESMTP id f1DDwls63080; Tue, 13 Feb 2001 13:58:47 GMT (envelope-from dfr@nlsystems.com) Date: Tue, 13 Feb 2001 13:58:47 +0000 (GMT) From: Doug Rabson To: Dag-Erling Smorgrav Cc: Subject: Re: sparse core dumps In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 13 Feb 2001, Dag-Erling Smorgrav wrote: > Doug Rabson writes: > > Probably it should just use getpagesize() to decide what block size to > > use. > > Why not just hardcode PAGE_SIZE like I did? An incorrect value will > still work, just slightly less efficiently. Empirical tests show that > as long as you stick to reasonable values, the block size doesn't > affect disk usage much. That would probably be ok too. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message