blob: 50a3852078fdc2519e397cfe1e28eca9e9ccf460 [file] [log] [blame]
Andrew Geissler4b740dc2020-05-05 08:54:39 -05001From 3e2cfa88b6538bb0fee3d9a6e99622055d05ac4a Mon Sep 17 00:00:00 2001
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002From: Robert Yang <liezhi.yang@windriver.com>
3Date: Tue, 17 Feb 2015 21:14:37 -0800
4Subject: [PATCH] Update the manual
5
6Update the manual for rotating on different filesystems.
7
8Upstream-Status: Pending
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Andrew Geissler4b740dc2020-05-05 08:54:39 -050011
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012---
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013 logrotate.8.in | 10 ++++------
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014 1 file changed, 4 insertions(+), 6 deletions(-)
15
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016diff --git a/logrotate.8.in b/logrotate.8.in
Andrew Geissler4b740dc2020-05-05 08:54:39 -050017index 98fea91..70b4c44 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018--- a/logrotate.8.in
19+++ b/logrotate.8.in
Andrew Geissler4b740dc2020-05-05 08:54:39 -050020@@ -202,12 +202,10 @@ at all (use with caution, may waste performance and disk space). Default is 0.
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021
22 .TP
23 \fBolddir \fIdirectory\fR
Andrew Geissler4b740dc2020-05-05 08:54:39 -050024-Logs are moved into \fIdirectory\fR for rotation. The \fIdirectory\fR must be
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025-on the same physical device as the log file being rotated, unless \fBcopy\fR,
Andrew Geissler4b740dc2020-05-05 08:54:39 -050026-\fBcopytruncate\fR or \fBrenamecopy\fR option is used. The \fIdirectory\fR
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027-is assumed to be relative to the directory holding the log file
Andrew Geissler4b740dc2020-05-05 08:54:39 -050028-unless an absolute path name is specified. When this option is used all
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029-old versions of the log end up in \fIdirectory\fR. This option may be
30+Logs are moved into \fIdirectory\fR for rotation. The \fIdirectory\fR
31+is assumed to be relative to the directory holding the log file unless
32+an absolute path name is specified. When this option is used all old
33+versions of the log end up in \fIdirectory\fR. This option may be
34 overridden by the \fBnoolddir\fR option.
35
36 .TP
37--
Andrew Geissler4b740dc2020-05-05 08:54:39 -0500382.24.0
Patrick Williamsc124f4f2015-09-15 14:41:29 -050039