From owner-freebsd-fs Thu Sep 6 2:50:35 2001 Delivered-To: freebsd-fs@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-54.dsl.lsan03.pacbell.net [63.207.60.54]) by hub.freebsd.org (Postfix) with ESMTP id C0B7437B403 for ; Thu, 6 Sep 2001 02:50:24 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5D5CC66D0A; Thu, 6 Sep 2001 02:50:24 -0700 (PDT) Date: Thu, 6 Sep 2001 02:50:24 -0700 From: Kris Kennaway To: fs@FreeBSD.org Subject: [lukem@netbsd.org: CVS commit: basesrc/sbin/newfs] Message-ID: <20010906025023.A2453@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Anyone want to take a look at the relevance of this? Kris ----- Forwarded message from Luke Mewburn ----- Delivered-To: kkenn@localhost.obsecurity.org Delivered-To: kris@freebsd.org Delivered-To: source-changes@netbsd.org From: Luke Mewburn Subject: CVS commit: basesrc/sbin/newfs To: source-changes@netbsd.org Reply-To: lukem@netbsd.org Date: Sat, 25 Aug 2001 04:42:48 +0300 (EEST) Precedence: list X-UIDL: d0ce499c969f875bc11436de8ac0458b Module Name: basesrc Committed By: lukem Date: Sat Aug 25 01:42:47 UTC 2001 Modified Files: basesrc/sbin/newfs: mkfs.c Log Message: various calcipg() fixes: - fix round-off errors when determining the number of inodes per group, which often resulted in the total number of inodes in the file system being less than what the density asked for. now you might get more inodes than requested for a given density, rather than less. - if the new inodes/group is <= 0, ensure that it's at least 1, preventing a possible division by zero or other wacky problems - use long long instead of quad_t To generate a diff of this commit: cvs rdiff -r1.51 -r1.52 basesrc/sbin/newfs/mkfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message