1 --- quota-tools/warnquota.c.orig Thu Oct 2 13:53:57 2003
2 +++ quota-tools/warnquota.c Thu Oct 2 14:02:41 2003
7 +#define FL_NODETAILS 8
13 fprintf(fp, DEF_GROUP_MESSAGE, offender->offender_name);
15 - for (lptr = offender->usage; lptr; lptr = lptr->next) {
16 + for (lptr = offender->usage; !(flags & FL_NODETAILS) && lptr; lptr = lptr->next) {
18 for (cnt = 0; cnt < qtab_i; cnt++)
19 if (!strcmp(quotatable[cnt].devname, lptr->devicename)) {
21 /* Print usage information */
22 static void usage(void)
24 - errstr(_("Usage:\n warnquota [-ugi] [-F quotaformat] [-c configfile] [-q quotatabfile]\n"));
25 + errstr(_("Usage:\n warnquota [-ugid] [-F quotaformat] [-c configfile] [-q quotatabfile]\n"));
28 static void parse_options(int argcnt, char **argstr)
32 - while ((ret = getopt(argcnt, argstr, "ugVF:hc:q:a:i")) != -1) {
33 + while ((ret = getopt(argcnt, argstr, "ugVF:hc:q:a:id")) != -1) {
42 + flags |= FL_NODETAILS;
46 if (!(flags & FL_USER) && !(flags & FL_GROUP))
47 --- quota-tools/warnquota.8.orig Thu Oct 2 14:55:45 2003
48 +++ quota-tools/warnquota.8 Thu Oct 2 14:58:05 2003
61 ignore mountpoints mounted by automounter.
64 +don't attach quota report in email.