From owner-freebsd-arch Tue Feb 13 5:54:22 2001 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 7B60237B491 for ; Tue, 13 Feb 2001 05:54:19 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id OAA95316; Tue, 13 Feb 2001 14:54:15 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Doug Rabson Cc: Subject: Re: sparse core dumps References: From: Dag-Erling Smorgrav Date: 13 Feb 2001 14:54:15 +0100 In-Reply-To: Doug Rabson's message of "Tue, 13 Feb 2001 13:44:32 +0000 (GMT)" Message-ID: Lines: 12 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message