From owner-freebsd-hackers Tue Nov 26 14:40:29 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA04518 for hackers-outgoing; Tue, 26 Nov 1996 14:40:29 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA04491; Tue, 26 Nov 1996 14:40:25 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id KAA12496 ; Tue, 26 Nov 1996 10:49:09 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA25389; Tue, 26 Nov 1996 11:32:19 -0700 From: Terry Lambert Message-Id: <199611261832.LAA25389@phaeton.artisoft.com> Subject: Re: 2.2-ALPHA install failure To: hsu@freefall.freebsd.org (Jeffrey Hsu) Date: Tue, 26 Nov 1996 11:32:19 -0700 (MST) Cc: joerg_wunsch@uriah.heep.sax.de, hackers@freefall.freebsd.org In-Reply-To: <199611261048.CAA19854@freefall.freebsd.org> from "Jeffrey Hsu" at Nov 26, 96 02:48:44 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > It still bugs me that newfs (or better: UFS) is often wasting so many > > sectors at the end of a partition since it also still believes that > > disks have something like a uniform geometry that can be expressed in > > terms of cylinders, heads, and sectors... > > I wrote an ad-hoc brute-force program to determine the optimal -u > paramter between 2048 and 4096 which will minimize the number of > wasted cylinders. I suggest we add the few lines to do this to > newfs. Actually, there's a nice formula that will do this; it's a second order polonomial equation (from what I remember)... I worked it out once. Probably you should post to sci.math asking for a soloution... (From the anti-brute-force peanut gallery). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.