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