summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs-utils/ChangeLog5
-rw-r--r--ufs-utils/mkfs.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ufs-utils/ChangeLog b/ufs-utils/ChangeLog
index 656a25ec..997bb089 100644
--- a/ufs-utils/ChangeLog
+++ b/ufs-utils/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
Thu Apr 10 13:54:31 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* dlabel.c: Don't include <mach/sa/sys/ioctl.h>.
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.