39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From e0b0fe30e9c49234994a20a86aacfaf80e690087 Mon Sep 17 00:00:00 2001
|
|
From: Robert Yang <liezhi.yang@windriver.com>
|
|
Date: Tue, 17 Feb 2015 21:14:37 -0800
|
|
Subject: [PATCH] Update the manual
|
|
|
|
Update the manual for rotating on different filesystems.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
---
|
|
logrotate.8 | 10 ++++------
|
|
1 file changed, 4 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/logrotate.8 b/logrotate.8
|
|
index e4e5f48..84407d0 100644
|
|
--- a/logrotate.8
|
|
+++ b/logrotate.8
|
|
@@ -405,12 +405,10 @@ Do not rotate the log if it is empty (this overrides the \fBifempty\fR option).
|
|
|
|
.TP
|
|
\fBolddir \fIdirectory\fR
|
|
-Logs are moved into \fIdirectory\fR for rotation. The \fIdirectory\fR must be
|
|
-on the same physical device as the log file being rotated, unless \fBcopy\fR,
|
|
-\fBcopytruncate\fR or \fBrenamecopy\fR option is used. The \fIdirectory\fR
|
|
-is assumed to be relative to the directory holding the log file
|
|
-unless an absolute path name is specified. When this option is used all
|
|
-old versions of the log end up in \fIdirectory\fR. This option may be
|
|
+Logs are moved into \fIdirectory\fR for rotation. The \fIdirectory\fR
|
|
+is assumed to be relative to the directory holding the log file unless
|
|
+an absolute path name is specified. When this option is used all old
|
|
+versions of the log end up in \fIdirectory\fR. This option may be
|
|
overridden by the \fBnoolddir\fR option.
|
|
|
|
.TP
|
|
--
|
|
1.7.9.5
|
|
|