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