From 356c92adbc829ecee6acd31e7d5910e4c7f97cf2 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 23 Jun 1997 17:35:37 +0000 Subject: Fri Jun 20 13:39:02 1997 Thomas Bushnell, n/BSG * mkfs.c (mkfs): Set SBLOCK.fs_clean. New file systems are always clean. --- ufs-utils/ChangeLog | 5 +++++ ufs-utils/mkfs.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'ufs-utils') 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 + + * mkfs.c (mkfs): Set SBLOCK.fs_clean. New file systems are always + clean. + Thu Apr 10 13:54:31 1997 Thomas Bushnell, n/BSG * dlabel.c: Don't include . 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 @@ -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. -- cgit v1.2.3