summaryrefslogtreecommitdiffstats
path: root/sbin/newfs
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/newfs')
-rw-r--r--sbin/newfs/mkfs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index 03c76f6..98ae34a 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -460,13 +460,6 @@ mkfs(struct partition *pp, char *fsys)
if (Nflag)
exit(0);
/*
- * Zero out the boot area to avoid old superblocks from being
- * found by mistake. Skip over the disklabel area.
- */
- bzero(iobuf, sblock.fs_bsize);
- for (i = 1; i < sblock.fs_sblkno; i += sblock.fs_frag)
- wtfs(fsbtodb(&sblock, i), sblock.fs_bsize, iobuf);
- /*
* Now construct the initial filesystem,
* then write out the super-block.
*/
OpenPOWER on IntegriCloud