summaryrefslogtreecommitdiffstats
path: root/sbin/newfs
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-03-27 01:34:58 +0000
committerobrien <obrien@FreeBSD.org>2001-03-27 01:34:58 +0000
commit13dcb5c8754bdf8e676c26f923497b44b19f1a78 (patch)
treefff778b3623549abaaa10ded928b7f57fae3fcfb /sbin/newfs
parent98ec60c8cc6fcc9b9415134fdbd995cf873015e4 (diff)
downloadFreeBSD-src-13dcb5c8754bdf8e676c26f923497b44b19f1a78.zip
FreeBSD-src-13dcb5c8754bdf8e676c26f923497b44b19f1a78.tar.gz
The common wisdom is to use the largest number of cylinders per group.
So bump the default from `16' to `22', which is the largest value allowed with the current default block size. This change increases the the group size from 32MB/g to 44MB/g on a 4GB SCSI disk.
Diffstat (limited to 'sbin/newfs')
-rw-r--r--sbin/newfs/newfs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
index 8a9f00d..b006a8a 100644
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -109,10 +109,11 @@ void fatal();
/*
* Cylinder groups may have up to many cylinders. The actual
* number used depends upon how much information can be stored
- * on a single cylinder. The default is to use 16 cylinders
- * per group.
+ * on a single cylinder. The default is to use 22 cylinders
+ * per group, which seems to be the largest value allowed given
+ * all the other default values.
*/
-#define DESCPG 16 /* desired fs_cpg */
+#define DESCPG 22 /* desired fs_cpg */
/*
* Once upon a time...
OpenPOWER on IntegriCloud