Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 00:18:22 -0700 (PDT)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/fsck fsck.8 fsck.c fsutil.c fsutil.h preen.c
Message-ID:  <200104250718.f3P7IM398026@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckusick    2001/04/25 00:18:22 PDT

  Modified files:
    sbin/fsck            fsck.8 fsck.c fsutil.c fsutil.h preen.c 
  Log:
  Add support for running foreground (-F) and background (-B) checks.
  Traditionally, fsck is invoked before the filesystems are mounted
  and all checks are done to completion at that time. If background
  checking is available, fsck is invoked twice. It is first invoked
  at the traditional time, before the filesystems are mounted, with
  the -F flag to do checking on all the filesystems that cannot do
  background checking. It is then invoked a second time, after the
  system has completed going multiuser, with the -B flag to do checking
  on all the filesystems that can do background checking. Unlike
  the foreground checking, the background checking is started
  asynchonously so that other system activity can proceed even on
  the filesystems that are being checked.
  
  At the moment, only the fast filesystem supports background checking.
  To be able to do background checking, a filesystem must have been
  running with soft updates, not have been marked as needing a
  foreground check, and be mounted and writable when the background
  check is to be done (i.e., not listed as `noauto' in /etc/fstab).
  
  These changes are the final piece needed to support background
  filesystem checking. They will not have any effect until you update
  your /etc/rc to invoke fsck in its new mode of operation. I am
  still playing around with exactly what those changes should be
  and should be committing them later this week.
  
  Revision  Changes    Path
  1.24      +61 -4     src/sbin/fsck/fsck.8
  1.5       +94 -21    src/sbin/fsck/fsck.c
  1.2       +45 -2     src/sbin/fsck/fsutil.c
  1.3       +9 -6      src/sbin/fsck/fsutil.h
  1.24      +15 -21    src/sbin/fsck/preen.c


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?200104250718.f3P7IM398026>