? quotacheck ? quotacheck.8.gz Index: quotacheck.8 =================================================================== RCS file: /home/ncvs/src/sbin/quotacheck/quotacheck.8,v retrieving revision 1.16 diff -u -r1.16 quotacheck.8 --- quotacheck.8 10 Feb 2005 09:19:32 -0000 1.16 +++ quotacheck.8 18 Oct 2006 11:25:56 -0000 @@ -31,7 +31,7 @@ .\" @(#)quotacheck.8 8.1 (Berkeley) 6/5/93 .\" $FreeBSD: src/sbin/quotacheck/quotacheck.8,v 1.16 2005/02/10 09:19:32 ru Exp $ .\" -.Dd June 5, 1993 +.Dd October 18, 2006 .Dt QUOTACHECK 8 .Os .Sh NAME @@ -40,6 +40,7 @@ .Sh SYNOPSIS .Nm .Op Fl guv +.Op Fl l Ar maxrun .Fl a .Nm .Op Fl guv @@ -72,6 +73,13 @@ Only group quotas listed in .Pa /etc/fstab are to be checked. +.It Fl l Ar maxrun +Specifies the maximum number of concurrent file systems +to check in parallel. +If this option is omitted, or if +.Ar maxrun +is zero, parallel passes are run as per +.Xr fsck 8 . .It Fl u Only user quotas listed in .Pa /etc/fstab Index: quotacheck.c =================================================================== RCS file: /home/ncvs/src/sbin/quotacheck/quotacheck.c,v retrieving revision 1.25 diff -u -r1.25 quotacheck.c --- quotacheck.c 10 Feb 2005 09:19:33 -0000 1.25 +++ quotacheck.c 18 Oct 2006 11:25:56 -0000 @@ -192,6 +192,10 @@ (void) addid((u_long)pw->pw_uid, USRQUOTA, pw->pw_name); endpwent(); } + /* Setting maxrun (-l) makes no sense without the aflag, but + it hasn't been an error for over 12 years, so just warn. */ + if (maxrun > 0 && !aflag) + warnx("ignoring -l without -a."); if (aflag) exit(checkfstab(1, maxrun, needchk, chkquota)); if (setfsent() == 0) @@ -217,7 +221,7 @@ usage() { (void)fprintf(stderr, "%s\n%s\n", - "usage: quotacheck [-guv] -a", + "usage: quotacheck [-guv] [-l maxrun] -a", " quotacheck [-guv] filesystem ..."); exit(1); }