Date: Fri, 13 Apr 2001 22:26:29 -0700 (PDT) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c fs.h Message-ID: <200104140526.f3E5QT362272@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2001/04/13 22:26:29 PDT Modified files: sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c fs.h Log: 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 */ Revision Changes Path 1.13 +2 -2 src/sys/ufs/ffs/ffs_snapshot.c 1.145 +7 -5 src/sys/ufs/ffs/ffs_vfsops.c 1.21 +13 -4 src/sys/ufs/ffs/fs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104140526.f3E5QT362272>