summaryrefslogtreecommitdiff
path: root/misc/logsave.8.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2003-04-16 14:05:06 -0400
committerTheodore Ts'o <tytso@mit.edu>2003-04-16 14:05:06 -0400
commitbc34d6be65cb93a65451ad209cfea2f98b03fd22 (patch)
tree0dfd21f1f47ff6194700ed20257cffacfe939353 /misc/logsave.8.in
parentb00bc4dc6d6538fa29197980efc3c12dd5a6da27 (diff)
downloade2fsprogs-bc34d6be65cb93a65451ad209cfea2f98b03fd22.tar.gz
* Add support for the -a and -s options to logsave.
* Change e2fsck to bracket its progress bar output with ctrl-A and ctrl-B characters, so that logsave -s can omit writing the progress bar output to the log file.
Diffstat (limited to 'misc/logsave.8.in')
-rw-r--r--misc/logsave.8.in27
1 files changed, 18 insertions, 9 deletions
diff --git a/misc/logsave.8.in b/misc/logsave.8.in
index 0455cd07..f0fbe412 100644
--- a/misc/logsave.8.in
+++ b/misc/logsave.8.in
@@ -8,15 +8,15 @@ logsave \- save the output of a command in a logfile
.SH SYNOPSIS
.B logsave
[
-.B \-v
+.B \-asv
]
-.I logfile command [ ... ]
+.I logfile cmd_prog [ ... ]
.SH DESCRIPTION
The
.B logsave
program will execute
-.I command
-with the specified argument, and save a copy of its output to
+.I cmd_prog
+with the specified argument(s), and save a copy of its output to
.IR logfile .
If the containing directory for
.I logfile
@@ -26,10 +26,11 @@ will accumulate the output in memory until it can be written out.
A copy of the output will also be written to standard output.
.PP
If
-.I command
+.I cmd_prog
is a single hyphen ('-'), then instead of executing a program,
.B logsave
-will take the input from standard input.
+will take its input from standard input and save it in
+.I logfile
.PP
.B logsave
is useful for saving the output of initial boot scripts
@@ -40,12 +41,20 @@ until the /var partition is mounted, so the output can be written to
.B \-a
This option will cause the output to be appended to
.IR logfile ,
-instead of replacing the current contents.
+instead of replacing its current contents.
+.TP
+.B \-s
+This option will cause
+.B logsave
+to skip writing to the log file text which is bracketed with a control-A
+(ASCII 001 or Start of Header) and control-B (ASCII 002 or Start of
+Text). This allows progress bar information to be visible to the user
+on the console, while not being written to the log file.
.TP
.B \-v
-This option will
+This option will make
.B logsave
-more verbose.
+to be more verbose in its output to the user.
.SH AUTHOR
Theodore Ts'o (tytso@mit.edu)
.SH SEE ALSO