Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/newfs Revert rev 1.37 (use disklabel value for cpg if -...
details: https://anonhg.NetBSD.org/src/rev/a9c1ae75f140
branches: trunk
changeset: 519917:a9c1ae75f140
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Dec 30 16:53:00 2001 +0000
description:
Revert rev 1.37 (use disklabel value for cpg if -c isn't given), because
we would rather let the "optimal cpg" calculation kick in at this point.
diffstat:
sbin/newfs/newfs.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r cefef9d6e14f -r a9c1ae75f140 sbin/newfs/newfs.c
--- a/sbin/newfs/newfs.c Sun Dec 30 16:47:55 2001 +0000
+++ b/sbin/newfs/newfs.c Sun Dec 30 16:53:00 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: newfs.c,v 1.51 2001/12/30 16:47:55 lukem Exp $ */
+/* $NetBSD: newfs.c,v 1.52 2001/12/30 16:53:00 lukem Exp $ */
/*
* Copyright (c) 1983, 1989, 1993, 1994
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95";
#else
-__RCSID("$NetBSD: newfs.c,v 1.51 2001/12/30 16:47:55 lukem Exp $");
+__RCSID("$NetBSD: newfs.c,v 1.52 2001/12/30 16:53:00 lukem Exp $");
#endif
#endif /* not lint */
@@ -569,10 +569,6 @@
if (bsize <= 0)
bsize = MIN(DFL_BLKSIZE, 8 * fsize);
}
- if (cpgflg == 0) {
- if (pp->p_cpg != 0)
- cpg = pp->p_cpg;
- }
/*
* Maxcontig sets the default for the maximum number of blocks
* that may be allocated sequentially. With filesystem clustering
Home |
Main Index |
Thread Index |
Old Index