Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From e0b0fe30e9c49234994a20a86aacfaf80e690087 Mon Sep 17 00:00:00 2001 |
| 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> |
| 11 | --- |
| 12 | logrotate.8 | 10 ++++------ |
| 13 | 1 file changed, 4 insertions(+), 6 deletions(-) |
| 14 | |
| 15 | diff --git a/logrotate.8 b/logrotate.8 |
| 16 | index e4e5f48..84407d0 100644 |
| 17 | --- a/logrotate.8 |
| 18 | +++ b/logrotate.8 |
| 19 | @@ -405,12 +405,10 @@ Do not rotate the log if it is empty (this overrides the \fBifempty\fR option). |
| 20 | |
| 21 | .TP |
| 22 | \fBolddir \fIdirectory\fR |
| 23 | -Logs are moved into \fIdirectory\fR for rotation. The \fIdirectory\fR must be |
| 24 | -on the same physical device as the log file being rotated, unless \fBcopy\fR, |
| 25 | -\fBcopytruncate\fR or \fBrenamecopy\fR option is used. The \fIdirectory\fR |
| 26 | -is assumed to be relative to the directory holding the log file |
| 27 | -unless an absolute path name is specified. When this option is used all |
| 28 | -old versions of the log end up in \fIdirectory\fR. This option may be |
| 29 | +Logs are moved into \fIdirectory\fR for rotation. The \fIdirectory\fR |
| 30 | +is assumed to be relative to the directory holding the log file unless |
| 31 | +an absolute path name is specified. When this option is used all old |
| 32 | +versions of the log end up in \fIdirectory\fR. This option may be |
| 33 | overridden by the \fBnoolddir\fR option. |
| 34 | |
| 35 | .TP |
| 36 | -- |
| 37 | 1.7.9.5 |
| 38 | |