summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog/newsyslog.8
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-03-03 15:47:32 +0000
committerbrooks <brooks@FreeBSD.org>2005-03-03 15:47:32 +0000
commit9b003d6928c7213b295225a61c5e7ae6bdb2d04d (patch)
tree71480dc3dd0e32e6a639b7886e158dd2648b4e88 /usr.sbin/newsyslog/newsyslog.8
parente701d73efd65befd744fcbf1435f7a78ea4b9b49 (diff)
downloadFreeBSD-src-9b003d6928c7213b295225a61c5e7ae6bdb2d04d.zip
FreeBSD-src-9b003d6928c7213b295225a61c5e7ae6bdb2d04d.tar.gz
Add the -N option to not rotate any files. This is to be used in
cojunction with -C and is used by /etc/rc.d/newsyslog. I forgot that this was in my perforce tree and not my running system and thus committed a non-working newsyslog script. Reported by: des Pointy hat: brooks
Diffstat (limited to 'usr.sbin/newsyslog/newsyslog.8')
-rw-r--r--usr.sbin/newsyslog/newsyslog.89
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.8 b/usr.sbin/newsyslog/newsyslog.8
index e5ebb8a..09fbe44 100644
--- a/usr.sbin/newsyslog/newsyslog.8
+++ b/usr.sbin/newsyslog/newsyslog.8
@@ -25,7 +25,7 @@
.Nd maintain system log files to manageable sizes
.Sh SYNOPSIS
.Nm
-.Op Fl CFnrsv
+.Op Fl CFNnrsv
.Op Fl R Ar tagname
.Op Fl a Ar directory
.Op Fl d Ar directory
@@ -162,6 +162,13 @@ to trim the logs, even if the trim conditions have not been met.
This
option is useful for diagnosing system problems by providing you with
fresh logs that contain only the problems.
+.It Fl N
+Do not perform any rotations.
+This option is intended to be used with the
+.Fl C
+or
+.Fl CC
+options when creating log files is the only objective.
.It Fl R Ar tagname
Specify that
.Nm
OpenPOWER on IntegriCloud