summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/mkfs.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-10-09 20:10:56 +0000
committerdg <dg@FreeBSD.org>1994-10-09 20:10:56 +0000
commit0c0e5e4cbf54b34e02183e61af87b14ca5904e05 (patch)
tree60a09e59c459f5e20c0ccf2e3399719b103159bf /sbin/newfs/mkfs.c
parent5648fa5d60e27f1af9c1f335a720af1f00d2d7fa (diff)
downloadFreeBSD-src-0c0e5e4cbf54b34e02183e61af87b14ca5904e05.zip
FreeBSD-src-0c0e5e4cbf54b34e02183e61af87b14ca5904e05.tar.gz
Backed out part of the last change that prevents the rpos table from
being output if <= 1 rpos; there is a bug in the kernel which doesn't quite get along with this. Changed default #rpos to 1, and fixed up manual page. Converted nrpos to 1 if user specifies 0.
Diffstat (limited to 'sbin/newfs/mkfs.c')
-rw-r--r--sbin/newfs/mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index 9d71c20..398f369 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -443,7 +443,7 @@ mkfs(pp, fsys, fi, fo)
sblock.fs_npsect = nphyssectors;
sblock.fs_postblformat = FS_DYNAMICPOSTBLFMT;
sblock.fs_sbsize = fragroundup(&sblock, sizeof(struct fs));
- if (sblock.fs_ntrak == 1 || sblock.fs_nrpos <= 1) {
+ if (sblock.fs_ntrak == 1) {
sblock.fs_cpc = 0;
goto next;
}
OpenPOWER on IntegriCloud