summaryrefslogtreecommitdiff
path: root/ufs-utils/mkfs.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-06-23 17:35:37 +0000
committerThomas Bushnell <thomas@gnu.org>1997-06-23 17:35:37 +0000
commit356c92adbc829ecee6acd31e7d5910e4c7f97cf2 (patch)
treea3657050a01e963a003ecbd605ba92f6ff6f87cd /ufs-utils/mkfs.c
parentbdbec20d2be54612425981fe1f71772cef9cc9ac (diff)
Fri Jun 20 13:39:02 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* mkfs.c (mkfs): Set SBLOCK.fs_clean. New file systems are always clean.
Diffstat (limited to 'ufs-utils/mkfs.c')
-rw-r--r--ufs-utils/mkfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ufs-utils/mkfs.c b/ufs-utils/mkfs.c
index b6303e86..5770293a 100644
--- a/ufs-utils/mkfs.c
+++ b/ufs-utils/mkfs.c
@@ -33,7 +33,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)mkfs.c 8.3 (Berkeley) 2/3/94";*/
-static char *rcsid = "$Id: mkfs.c,v 1.16 1997/02/20 04:15:02 miles Exp $";
+static char *rcsid = "$Id: mkfs.c,v 1.17 1997/06/23 17:35:37 thomas Exp $";
#endif /* not lint */
#include <unistd.h>
@@ -863,6 +863,7 @@ next:
sblock.fs_cstotal.cs_nffree = 0;
sblock.fs_fmod = 0;
sblock.fs_ronly = 0;
+ sblock.fs_clean = 1;
/*
* Dump out summary information about file system.