From owner-cvs-all Fri Apr 13 22:26:32 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4905137B506; Fri, 13 Apr 2001 22:26:29 -0700 (PDT) (envelope-from mckusick@FreeBSD.org) Received: (from mckusick@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3E5QT362272; Fri, 13 Apr 2001 22:26:29 -0700 (PDT) (envelope-from mckusick) Message-Id: <200104140526.f3E5QT362272@freefall.freebsd.org> From: Kirk McKusick Date: Fri, 13 Apr 2001 22:26:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c fs.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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