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.
This commit is contained in:
parent
86c0243f4f
commit
059cb50f9d
|
@ -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
|
* Copyright (c) 1983, 1989, 1993, 1994
|
||||||
|
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1989, 1993, 1994\n\
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95";
|
static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95";
|
||||||
#else
|
#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
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
|
@ -569,10 +569,6 @@ main(int argc, char *argv[])
|
||||||
if (bsize <= 0)
|
if (bsize <= 0)
|
||||||
bsize = MIN(DFL_BLKSIZE, 8 * fsize);
|
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
|
* Maxcontig sets the default for the maximum number of blocks
|
||||||
* that may be allocated sequentially. With filesystem clustering
|
* that may be allocated sequentially. With filesystem clustering
|
||||||
|
|
Loading…
Reference in New Issue