diff options
author | mckusick <mckusick@FreeBSD.org> | 2001-04-14 05:26:28 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2001-04-14 05:26:28 +0000 |
commit | 6a7a6ab20dfb94565a745e0bfbacf5ab788e846f (patch) | |
tree | bdc2528ca03872225e6771d56963c894959812f3 /crypto | |
parent | efb187afd627d04e95f8e2655dd3b31213823097 (diff) | |
download | FreeBSD-src-6a7a6ab20dfb94565a745e0bfbacf5ab788e846f.zip FreeBSD-src-6a7a6ab20dfb94565a745e0bfbacf5ab788e846f.tar.gz |
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 */
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions