freebsd-skq/sys/ufs
mckusick 6a7a6ab20d This checkin adds support in ufs/ffs for the FS_NEEDSFSCK flag.
It is described in ufs/ffs/fs.h as follows:

/*
 * Filesystem flags.
 *
 * Note that the FS_NEEDSFSCK flag is set and cleared only by the
 * fsck utility. It is set when background fsck finds an unexpected
 * inconsistency which requires a traditional foreground fsck to be
 * run. Such inconsistencies should only be found after an uncorrectable
 * disk error. A foreground fsck will clear the FS_NEEDSFSCK flag when
 * it has successfully cleaned up the filesystem. The kernel uses this
 * flag to enforce that inconsistent filesystems be mounted read-only.
 */
#define FS_UNCLEAN    0x01	/* filesystem not clean at mount */
#define FS_DOSOFTDEP  0x02	/* filesystem using soft dependencies */
#define FS_NEEDSFSCK  0x04	/* filesystem needs sync fsck before mount */
2001-04-14 05:26:28 +00:00
..
ffs This checkin adds support in ufs/ffs for the FS_NEEDSFSCK flag. 2001-04-14 05:26:28 +00:00
ifs Change and clean the mutex lock interface. 2001-02-09 06:11:45 +00:00
mfs Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
ufs o Indent sub-section headings to be consistent with README.extattr. 2001-04-03 18:05:03 +00:00