Index: fsck.8 =================================================================== RCS file: /home/ncvs/src/sbin/fsck/fsck.8,v retrieving revision 1.37 diff -a -u -r1.37 fsck.8 --- fsck.8 10 Feb 2005 09:19:29 -0000 1.37 +++ fsck.8 24 Oct 2006 12:11:47 -0000 @@ -37,7 +37,7 @@ .Nd file system consistency check and interactive repair .Sh SYNOPSIS .Nm -.Op Fl dfnpvy +.Op Fl Cdfnpvy .Op Fl B | F .Op Fl T Ar fstype : Ns Ar fsoptions .Op Fl t Ar fstype @@ -112,6 +112,8 @@ .Pp The options are as follows: .Bl -tag -width indent +.It Fl C +Skip checking of file systems marked clean (for file systems that support this). .It Fl d Debugging mode. Just print the commands without executing them. Index: fsck.c =================================================================== RCS file: /home/ncvs/src/sbin/fsck/fsck.c,v retrieving revision 1.18 diff -a -u -r1.18 fsck.c --- fsck.c 10 Feb 2005 09:19:29 -0000 1.18 +++ fsck.c 24 Oct 2006 12:11:47 -0000 @@ -103,7 +103,7 @@ TAILQ_INIT(&selhead); TAILQ_INIT(&opthead); - while ((i = getopt(argc, argv, "BdvpfFnyl:t:T:")) != -1) + while ((i = getopt(argc, argv, "BCdvpfFnyl:t:T:")) != -1) switch (i) { case 'B': if (flags & CHECK_BACKGRD) @@ -128,6 +128,7 @@ case 'p': flags |= CHECK_PREEN; /*FALLTHROUGH*/ + case 'C': case 'n': case 'y': globopt[1] = i; @@ -566,7 +567,7 @@ usage(void) { static const char common[] = - "[-dfnpvy] [-B | -F] [-T fstype:fsoptions] [-t fstype]"; + "[-Cdfnpvy] [-B | -F] [-T fstype:fsoptions] [-t fstype]"; (void)fprintf(stderr, "usage: %s %s [special | node] ...\n", getprogname(), common);