Date: Thu, 6 Sep 2001 02:50:24 -0700 From: Kris Kennaway <kris@obsecurity.org> To: fs@FreeBSD.org Subject: [lukem@netbsd.org: CVS commit: basesrc/sbin/newfs] Message-ID: <20010906025023.A2453@xor.obsecurity.org>
next in thread | raw e-mail | index | archive | help
Anyone want to take a look at the relevance of this? Kris ----- Forwarded message from Luke Mewburn <lukem@netbsd.org> ----- Delivered-To: kkenn@localhost.obsecurity.org Delivered-To: kris@freebsd.org Delivered-To: source-changes@netbsd.org From: Luke Mewburn <lukem@netbsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010906025023.A2453>