From owner-cvs-all Thu Mar 8 17: 3:20 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 622FA37B718; Thu, 8 Mar 2001 17:03:16 -0800 (PST) (envelope-from obrien@FreeBSD.org) Received: (from obrien@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2913GQ88940; Thu, 8 Mar 2001 17:03:16 -0800 (PST) (envelope-from obrien) Message-Id: <200103090103.f2913GQ88940@freefall.freebsd.org> From: "David E. O'Brien" Date: Thu, 8 Mar 2001 17:03:16 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/release/scripts doFS.sh X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG obrien 2001/03/08 17:03:16 PST Modified files: release/scripts doFS.sh Log: newfs with `-m 1' This is needed even with `-o space' as the kernel decides to be "helpful" and not really do space optimization. Looking at src/sys/ufs/ffs/ffs_alloc.c we see why: if (fs->fs_minfree <= 5 || fs->fs_cstotal.cs_nffree > (off_t)fs->fs_dsize * fs->fs_minfree / (2 * 100)) break; log(LOG_NOTICE, "%s: optimization changed from SPACE to TIME\n" I have picked `1' vs. `0' just incase some code somewhere has the assumption the %free can never be `0'. Helped with understanding why -m 1 made a different: imp Revision Changes Path 1.30 +2 -2 src/release/scripts/doFS.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message