Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src Pull up following revision(s) (requested by dholland in t...



details:   https://anonhg.NetBSD.org/src/rev/b8ab078e7eec
branches:  netbsd-6
changeset: 774132:b8ab078e7eec
user:      riz <riz%NetBSD.org@localhost>
date:      Sat May 19 15:31:21 2012 +0000

description:
Pull up following revision(s) (requested by dholland in ticket #268):
        usr.bin/quota/quota.1: revision 1.18
        usr.bin/quota/quota.1: revision 1.19
        usr.sbin/repquota/repquota.8: revision 1.16
        usr.sbin/repquota/repquota.8: revision 1.17
        usr.bin/quota/quota.c: revision 1.49
        usr.sbin/repquota/repquota.c: revision 1.44
Remove traces of -D flag, which no longer does anything.
Remove traces of -D option, which no longer does anything.
Bump date for previous.
Bump date for previous.

diffstat:

 usr.bin/quota/quota.1        |  14 ++++++--------
 usr.bin/quota/quota.c        |  12 ++++--------
 usr.sbin/repquota/repquota.8 |  14 ++++++--------
 usr.sbin/repquota/repquota.c |  10 +++-------
 4 files changed, 19 insertions(+), 31 deletions(-)

diffs (196 lines):

diff -r 78ad6258d32c -r b8ab078e7eec usr.bin/quota/quota.1
--- a/usr.bin/quota/quota.1     Sat May 19 15:29:21 2012 +0000
+++ b/usr.bin/quota/quota.1     Sat May 19 15:31:21 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: quota.1,v 1.17 2012/02/13 19:53:25 dholland Exp $
+.\"    $NetBSD: quota.1,v 1.17.2.1 2012/05/19 15:31:21 riz Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"    from: @(#)quota.1       8.1 (Berkeley) 6/6/93
 .\"
-.Dd March 6, 2011
+.Dd May 12, 2012
 .Dt QUOTA 1
 .Os
 .Sh NAME
@@ -40,19 +40,19 @@
 .Nd display disk usage and limits
 .Sh SYNOPSIS
 .Nm
-.Op Fl Dghu
+.Op Fl ghu
 .Op Fl v | Fl q
 .Nm
-.Op Fl Dhu
+.Op Fl hu
 .Op Fl v | Fl q
 .Ar user
 .Nm
-.Op Fl Dgh
+.Op Fl gh
 .Op Fl v | Fl q
 .Ar group
 .Nm
 .Fl d
-.Op Fl Dgh
+.Op Fl gh
 .Op Fl v | Fl q
 .Sh DESCRIPTION
 .Nm
@@ -62,8 +62,6 @@
 Options:
 .Pp
 .Bl -tag -width Ds
-.It Fl D
-Debug: print plist sent to and received from kernel.
 .It Fl d
 Query the kernel for default user or group quota instead of a specific
 user or group.
diff -r 78ad6258d32c -r b8ab078e7eec usr.bin/quota/quota.c
--- a/usr.bin/quota/quota.c     Sat May 19 15:29:21 2012 +0000
+++ b/usr.bin/quota/quota.c     Sat May 19 15:31:21 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: quota.c,v 1.48 2012/02/05 14:14:44 dholland Exp $      */
+/*     $NetBSD: quota.c,v 1.48.2.1 2012/05/19 15:31:21 riz Exp $       */
 
 /*
  * Copyright (c) 1980, 1990, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)quota.c    8.4 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: quota.c,v 1.48 2012/02/05 14:14:44 dholland Exp $");
+__RCSID("$NetBSD: quota.c,v 1.48.2.1 2012/05/19 15:31:21 riz Exp $");
 #endif
 #endif /* not lint */
 
@@ -104,7 +104,6 @@
 static int     vflag = 0;
 static int     hflag = 0;
 static int     dflag = 0;
-static int     Dflag = 0;
 static uid_t   myuid;
 static int needheading;
 
@@ -117,7 +116,7 @@
        int ch;
 
        myuid = getuid();
-       while ((ch = getopt(argc, argv, "Ddhugvq")) != -1) {
+       while ((ch = getopt(argc, argv, "dhugvq")) != -1) {
                switch(ch) {
                case 'g':
                        gflag++;
@@ -137,9 +136,6 @@
                case 'd':
                        dflag++;
                        break;
-               case 'D':
-                       Dflag++;
-                       break;
                default:
                        usage();
                }
@@ -525,7 +521,7 @@
                                err(1, "Out of memory");
                        }
                        if (getvfsquota(fst[i].f_mntonname, qup->qvs, &version,
-                           id, idtype, dflag, Dflag) != 1)
+                           id, idtype, dflag, 0) != 1)
                                continue;
                } else
                        continue;
diff -r 78ad6258d32c -r b8ab078e7eec usr.sbin/repquota/repquota.8
--- a/usr.sbin/repquota/repquota.8      Sat May 19 15:29:21 2012 +0000
+++ b/usr.sbin/repquota/repquota.8      Sat May 19 15:31:21 2012 +0000
@@ -29,9 +29,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)repquota.8   8.1 (Berkeley) 6/6/93
-.\"    $NetBSD: repquota.8,v 1.15 2012/02/13 13:37:45 wiz Exp $
+.\"    $NetBSD: repquota.8,v 1.15.2.1 2012/05/19 15:31:21 riz Exp $
 .\"
-.Dd February 13, 2012
+.Dd May 12, 2012
 .Dt REPQUOTA 8
 .Os
 .Sh NAME
@@ -39,17 +39,17 @@
 .Nd summarize quotas for a file system
 .Sh SYNOPSIS
 .Nm
-.Op Fl Dghuv
+.Op Fl ghuv
 .Ar file-system Ar ...
 .Nm
-.Op Fl Dghuv
+.Op Fl ghuv
 .Fl a
 .Nm
 .Fl x
-.Op Fl Dgu
+.Op Fl gu
 .Ar file-system
 .Nm quotadump
-.Op Fl Dgu
+.Op Fl gu
 .Ar file-system
 .Sh DESCRIPTION
 .Nm
@@ -60,8 +60,6 @@
 .Bl -tag -width Ds
 .It Fl a
 Print the quotas of all the mounted file systems.
-.It Fl D
-Debug: print plist sent to and received from kernel.
 .It Fl g
 Print only group quotas (the default is to print both
 group and user quotas if they exist).
diff -r 78ad6258d32c -r b8ab078e7eec usr.sbin/repquota/repquota.c
--- a/usr.sbin/repquota/repquota.c      Sat May 19 15:29:21 2012 +0000
+++ b/usr.sbin/repquota/repquota.c      Sat May 19 15:31:21 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: repquota.c,v 1.43 2012/02/13 01:35:09 dholland Exp $   */
+/*     $NetBSD: repquota.c,v 1.43.2.1 2012/05/19 15:31:22 riz Exp $    */
 
 /*
  * Copyright (c) 1980, 1990, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)repquota.c 8.2 (Berkeley) 11/22/94";
 #else
-__RCSID("$NetBSD: repquota.c,v 1.43 2012/02/13 01:35:09 dholland Exp $");
+__RCSID("$NetBSD: repquota.c,v 1.43.2.1 2012/05/19 15:31:22 riz Exp $");
 #endif
 #endif /* not lint */
 
@@ -95,7 +95,6 @@
 
 static int     vflag = 0;              /* verbose */
 static int     aflag = 0;              /* all file systems */
-static int     Dflag = 0;              /* debug */
 static int     hflag = 0;              /* humanize */
 static int     xflag = 0;              /* export */
 
@@ -133,7 +132,7 @@
                xflag = 1;
        }
 
-       while ((ch = getopt(argc, argv, "Daguhvx")) != -1) {
+       while ((ch = getopt(argc, argv, "aguhvx")) != -1) {
                switch(ch) {
                case 'a':
                        aflag++;
@@ -150,9 +149,6 @@
                case 'v':
                        vflag++;
                        break;
-               case 'D':
-                       Dflag++;
-                       break;
                case 'x':
                        xflag++;
                        break;



Home | Main Index | Thread Index | Old Index