Blame SOURCES/quota-4.01-Add-quotagrpadmins-5-manual-page.patch

370c56
From 2e0023997cf6fe1e2eee678ba66371642e212829 Mon Sep 17 00:00:00 2001
370c56
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
370c56
Date: Wed, 16 Oct 2013 16:48:26 +0200
370c56
Subject: [PATCH 1/4] Add quotagrpadmins(5) manual page
370c56
MIME-Version: 1.0
370c56
Content-Type: text/plain; charset=UTF-8
370c56
Content-Transfer-Encoding: 8bit
370c56
370c56
Signed-off-by: Petr Písař <ppisar@redhat.com>
370c56
---
370c56
 Makefile.in      |  2 ++
370c56
 quotagrpadmins.5 | 28 ++++++++++++++++++++++++++++
370c56
 warnquota.8      |  5 ++++-
370c56
 3 files changed, 34 insertions(+), 1 deletion(-)
370c56
 create mode 100644 quotagrpadmins.5
370c56
370c56
diff --git a/Makefile.in b/Makefile.in
370c56
index 84fafce..5800029 100644
370c56
--- a/Makefile.in
370c56
+++ b/Makefile.in
370c56
@@ -90,6 +90,7 @@ install: all @INSTMO@
370c56
 	-$(INSTALL) -m $(DEF_CONF_MODE) quotagrpadmins $(ROOTDIR)$(sysconfdir)
370c56
 	-mkdir -p $(ROOTDIR)$(mandir)/man1
370c56
 	-mkdir -p $(ROOTDIR)$(mandir)/man3
370c56
+	-mkdir -p $(ROOTDIR)$(mandir)/man5
370c56
 	-mkdir -p $(ROOTDIR)$(mandir)/man8
370c56
 	-$(INSTALL) -m 755 -d $(ROOTDIR)$(includedir)/rpcsvc
370c56
 	-$(INSTALL) -m 644 rquota.h rquota.x $(ROOTDIR)$(includedir)/rpcsvc
370c56
@@ -100,6 +101,7 @@ ifneq ($(NETLINKLIBS),)
370c56
 endif
370c56
 	-$(INSTALL) -m $(DEF_MAN_MODE) *.1 $(ROOTDIR)$(mandir)/man1
370c56
 	-$(INSTALL) -m $(DEF_MAN_MODE) *.3 $(ROOTDIR)$(mandir)/man3
370c56
+	-$(INSTALL) -m $(DEF_MAN_MODE) *.5 $(ROOTDIR)$(mandir)/man5
370c56
 	-$(INSTALL) -m $(DEF_MAN_MODE) *.8 $(ROOTDIR)$(mandir)/man8
370c56
 
370c56
 quotaon: quotaon.o quotaon_xfs.o $(LIBOBJS)
370c56
diff --git a/quotagrpadmins.5 b/quotagrpadmins.5
370c56
new file mode 100644
370c56
index 0000000..fef1e3a
370c56
--- /dev/null
370c56
+++ b/quotagrpadmins.5
370c56
@@ -0,0 +1,28 @@
370c56
+.TH QUOTAGRPADMINS 5
370c56
+.SH NAME
370c56
+quotagrpadmins \- users responsible for group disk usage
370c56
+.SH SYNOPSIS
370c56
+.B /etc/quotagrpadmins
370c56
+.SH DESCRIPTION
370c56
+The
370c56
+.B quotagrpadmins
370c56
+file lists administrators of user groups who will receive a warning if
370c56
+.B warnquota --group
370c56
+command finds a group exceeding its disk usage limits.
370c56
+.P
370c56
+Each line consists of a group name followed by a colon and an user name. White
370c56
+space characters surrounding the names are allowed. Empty lines or lines
370c56
+starting with a hash sign or a semicolon are ignored.
370c56
+.SH EXAMPLE
370c56
+.PP
370c56
+# comment
370c56
+.RS 0
370c56
+users: root
370c56
+.SH FILES
370c56
+.PD 0
370c56
+.TP 20
370c56
+.B /etc/quotagrpadmins
370c56
+list of group administrators
370c56
+.PD
370c56
+.SH SEE ALSO
370c56
+.BR warnquota (8).
370c56
diff --git a/warnquota.8 b/warnquota.8
370c56
index 8427488..836290d 100644
370c56
--- a/warnquota.8
370c56
+++ b/warnquota.8
370c56
@@ -58,7 +58,9 @@ Use
370c56
 .I adminsfile
370c56
 instead of
370c56
 .I /etc/quotagrpadmins
370c56
-as a file with administrators of the groups.
370c56
+as a file with administrators of the groups (see
370c56
+.BR quotagrpadmins (5)
370c56
+for syntax).
370c56
 .TP
370c56
 .B -u, --user
370c56
 check whether users are not exceeding quotas (default).
370c56
@@ -102,6 +104,7 @@ default set of users
370c56
 .PD
370c56
 .SH "SEE ALSO"
370c56
 .BR quota (1),
370c56
+.BR quotagrpadmins (5),
370c56
 .BR cron (8),
370c56
 .BR edquota (8).
370c56
 .SH AUTHORS
370c56
-- 
370c56
1.8.3.1
370c56