Subject: CVS commit: src/sbin/fsck_ffs
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 04/06/2003 20:23:27
Module Name:	src
Committed By:	fvdl
Date:		Sun Apr  6 17:23:27 UTC 2003

Modified Files:
	src/sbin/fsck_ffs: extern.h fsck.h setup.c utilities.c

Log Message:
Write update some old fields when writing the superblock, similar to
ffs_oldfscompat_write() in the kernel. Use the old totals when
time < old_time (i.e. an old kernel or fsck wrote the filesystem last).
When setting the date back on a new kernel, that works out ok, since
new kernels always update both fields.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sbin/fsck_ffs/extern.h
cvs rdiff -r1.32 -r1.33 src/sbin/fsck_ffs/fsck.h
cvs rdiff -r1.59 -r1.60 src/sbin/fsck_ffs/setup.c
cvs rdiff -r1.36 -r1.37 src/sbin/fsck_ffs/utilities.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.