Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame^] | 1 | From 3e2cfa88b6538bb0fee3d9a6e99622055d05ac4a Mon Sep 17 00:00:00 2001 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 2 | From: Robert Yang <liezhi.yang@windriver.com> |
| 3 | Date: Tue, 17 Feb 2015 21:14:37 -0800 |
| 4 | Subject: [PATCH] Update the manual |
| 5 | |
| 6 | Update the manual for rotating on different filesystems. |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame^] | 11 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 12 | --- |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 13 | logrotate.8.in | 10 ++++------ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | 1 file changed, 4 insertions(+), 6 deletions(-) |
| 15 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 16 | diff --git a/logrotate.8.in b/logrotate.8.in |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame^] | 17 | index 98fea91..70b4c44 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | --- a/logrotate.8.in |
| 19 | +++ b/logrotate.8.in |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame^] | 20 | @@ -202,12 +202,10 @@ at all (use with caution, may waste performance and disk space). Default is 0. |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 21 | |
| 22 | .TP |
| 23 | \fBolddir \fIdirectory\fR |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame^] | 24 | -Logs are moved into \fIdirectory\fR for rotation. The \fIdirectory\fR must be |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | -on the same physical device as the log file being rotated, unless \fBcopy\fR, |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame^] | 26 | -\fBcopytruncate\fR or \fBrenamecopy\fR option is used. The \fIdirectory\fR |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | -is assumed to be relative to the directory holding the log file |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame^] | 28 | -unless an absolute path name is specified. When this option is used all |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 29 | -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 Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame^] | 38 | 2.24.0 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 39 | |