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
commit5846b573b26adc645606225d38f883dc0dc36b47 (patch)
tree050d67f0383aa5e286ecb7d1d13fa96d096a5a42 /ufs-utils/mkfs.c
parente94252fe692a5638429cbe4fdf9e2a37c3a7b2bb (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.