Skip site navigation (1)Skip section navigation (2)
Date:      13 Feb 2001 14:54:15 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        <arch@freebsd.org>
Subject:   Re: sparse core dumps
Message-ID:  <xzpsnliy9h4.fsf@flood.ping.uio.no>
In-Reply-To: Doug Rabson's message of "Tue, 13 Feb 2001 13:44:32 %2B0000 (GMT)"
References:  <Pine.BSF.4.31.0102131343270.62815-100000@herring.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson <dfr@nlsystems.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpsnliy9h4.fsf>