[quota] Explain meaning of the second column in repquota output

Petr Pisar ppisar at fedoraproject.org
Thu Feb 17 14:05:51 UTC 2011


commit fd4d641ce141374d13760ab24a9d87c76b6aac89
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Feb 17 14:52:56 2011 +0100

    Explain meaning of the second column in repquota output

 ...ning-of-the-second-column-in-repquota-out.patch |   48 ++++++++++++++++++++
 quota.spec                                         |    8 +++-
 2 files changed, 55 insertions(+), 1 deletions(-)
---
diff --git a/quota-4.00_pre1-Explain-meaning-of-the-second-column-in-repquota-out.patch b/quota-4.00_pre1-Explain-meaning-of-the-second-column-in-repquota-out.patch
new file mode 100644
index 0000000..705c29f
--- /dev/null
+++ b/quota-4.00_pre1-Explain-meaning-of-the-second-column-in-repquota-out.patch
@@ -0,0 +1,48 @@
+From fe76269491078b4ac862d3009a2e14c51884868a Mon Sep 17 00:00:00 2001
+From: Jan Kara <jack at suse.cz>
+Date: Wed, 16 Feb 2011 18:33:32 +0100
+Subject: [PATCH 1/2] Explain meaning of the second column in repquota output
+
+Signed-off-by: Jan Kara <jack at suse.cz>
+---
+ repquota.8 |   17 ++++++++++++-----
+ 1 files changed, 12 insertions(+), 5 deletions(-)
+
+diff --git a/repquota.8 b/repquota.8
+index 7580f64..a71cf6b 100644
+--- a/repquota.8
++++ b/repquota.8
+@@ -48,18 +48,25 @@ repquota \- summarize quotas for a filesystem
+ .B repquota
+ prints a summary of the disc usage and quotas for the specified file
+ systems.  For each user the current number of files and amount of space
+-(in kilobytes) is printed, along with any quotas created with
+-.BR edquota (8).
+-As
++(in kilobytes) is printed, along with any quota limits set with
++.BR edquota (8) 
++or
++.BR setquota (8).
++In the second column repquota prints two characters marking which limits are
++exceeded. If user is over his space softlimit or reaches his space hardlimit in
++case softlimit is unset, the first character is '+'. Otherwise the character
++printed is '-'. The second character denotes the state of inode usage
++analogously.
++
+ .B repquota
+ has to translate ids of all users/groups to names (unless option
+ .B -n
+-was specified) it may take a while to
++was specified) so it may take a while to
+ print all the information. To make translating as fast as possible
+ .B repquota
+ tries to detect (by reading
+ .BR /etc/nsswitch.conf )
+-whether entries are stored in standard plain text file or in database and either
++whether entries are stored in standard plain text file or in a database and either
+ translates chunks of 1024 names or each name individually. You can override this
+ autodetection by
+ .B -c
+-- 
+1.7.4
+
diff --git a/quota.spec b/quota.spec
index 5bc1f1b..528d02b 100644
--- a/quota.spec
+++ b/quota.spec
@@ -5,7 +5,7 @@ Name: quota
 Summary: System administration tools for monitoring users' disk usage
 Epoch: 1
 Version: 4.00
-Release: 0.8.pre1%{?dist}
+Release: 0.9.pre1%{?dist}
 License: BSD and GPLv2+
 URL: http://sourceforge.net/projects/linuxquota/
 Group: System Environment/Base
@@ -60,6 +60,8 @@ Patch20: quota-4.00_pre1-Add-quotasync-tool.patch
 Patch21: quota-4.00_pre1-Implement-quotacheck-for-GFS2.patch
 # Bug 668688, in upstream 4.00_pre2
 Patch22: quota-4.00_pre1-Initialize-vfsold-block-and-inode-value-boundries-fo.patch
+# In upstream 4.00_pre2
+Patch23: quota-4.00_pre1-Explain-meaning-of-the-second-column-in-repquota-out.patch
 
 %description
 The quota package contains system administration tools for monitoring
@@ -152,6 +154,7 @@ Linux/UNIX environment.
 %patch20 -p1 -b .add_quotasync
 %patch21 -p1 -b .gfs2_quotacheck
 %patch22 -p1 -b .inizialize_vfsold_boundries
+%patch23 -p1 -b .explain_second_column_of_repquota
 # quotactl(2) moved into `man-pages' package (bug #640590)
 rm -f quotactl.2
 # remove VCS files
@@ -274,6 +277,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Feb 17 2011 Petr Pisar <ppisar at redhat.com> - 1:4.00-0.9.pre1
+- Explain meaning of the second column in repquota output
+
 * Wed Feb 09 2011 Petr Pisar <ppisar at redhat.com> - 1:4.00-0.8.pre1
 - Initialize vfsold block and inode value boundries for new quota file
   (bug #668688)


More information about the scm-commits mailing list