From owner-freebsd-arch Fri Sep 21 1: 0:10 2001 Delivered-To: freebsd-arch@freebsd.org Received: from matrix.eurocontrol.fr (matrix.eurocontrol.fr [147.196.254.254]) by hub.freebsd.org (Postfix) with ESMTP id 8FED637B429; Fri, 21 Sep 2001 01:00:08 -0700 (PDT) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.51.214]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "caerdonn.eurocontrol.fr", Issuer CN "CA ITM" (not verified)) by matrix.eurocontrol.fr (Postfix/TLS) with ESMTP id DD9D422D6; Fri, 21 Sep 2001 10:00:07 +0200 (CEST) Received: by caerdonn.eurocontrol.fr (Postfix/TLS, from userid 1193) id 4F288109; Fri, 21 Sep 2001 10:00:06 +0200 (CEST) Date: Fri, 21 Sep 2001 10:00:06 +0200 From: Ollivier Robert To: Ruslan Ermilov Cc: Bruce Evans , Kirk McKusick , freebsd-arch@FreeBSD.ORG, obrien@FreeBSD.ORG Subject: Re: New option for newfs Message-ID: <20010921100006.B1829@caerdonn.eurocontrol.fr> References: <200109201815.f8KIFQh33875@beastie.mckusick.com> <20010921054417.Q70596-100000@delplex.bde.org> <20010921094139.C27714@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010921094139.C27714@sunbay.com>; from ru@FreeBSD.ORG on Fri, Sep 21, 2001 at 09:41:39AM +0300 X-Operating-System: FreeBSD 5.0-CURRENT 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 According to Ruslan Ermilov: > > -#define DESCPG 22 /* desired fs_cpg */ > > +#define DESCPG 65536 /* desired fs_cpg ("infinity") */ > > > Shouldn't that be INT_MAX? As the way to find the maxcpg is to iterate from DESCPG down to that maxcpg, I think that 65536 is enough. No need to go from 2^31-1 down to something that will seldom be more than 1000 (or even 10000). -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- Ollivier.Robert@eurocontrol.fr FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan 3 15:52:00 CET 2001 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message