From owner-freebsd-arch Thu Sep 20 11:59: 9 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id ABDD737B403 for ; Thu, 20 Sep 2001 11:59:06 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id EAA24941; Fri, 21 Sep 2001 04:58:59 +1000 Date: Fri, 21 Sep 2001 04:58:31 +1000 (EST) From: Bruce Evans X-X-Sender: To: Ollivier Robert Cc: Subject: Re: New option for newfs In-Reply-To: <20010920181423.A99633@caerdonn.eurocontrol.fr> Message-ID: <20010921044949.M70097-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Sep 2001, Ollivier Robert wrote: > I want to add a new option to newfs in order to maximise the number of > cylinders per cg (to reduce fragmentation and head movement). > > Right now, one can use '-c' to specify another value but > > 1. the default is 22 (calculated for a 8k/1k FS) regardless of the FS > (i.e. it will still be 22 even though you choose a 16k/2k FS). > > 2. newfs barfs when '-c' argument is too high. > > Proposal: a new option ('-M') that says: ignore -c if present, calculate > the maxcpg allowed for the given argument to newfs and use that. My version defaults to using the maximum. This is usually the best possible value since the best value is usually much larger (but impossible). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message