summaryrefslogtreecommitdiff
path: root/ufs-utils
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
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')
-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.