'\" -*- coding: UTF-8 -*-
.\" Copyright (C) 1998-2003 Miquel van Smoorenburg.
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by 
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH BOOTLOGD 8 "21 lipca 2003" "sysvinit " "Podręcznik administratora systemu Linux"
.SH NAZWA
bootlogd \- record boot messages
.SH SKŁADNIA
\fB/sbin/bootlogd\fP [\fB\-c\fP] [\fB\-d\fP] [\fB\-e\fP] [\fB\-r\fP] [\fB\-s\fP] [\fB\-v\fP] [\fI \fP\fB\-l\fP\fI logfile \fP] [\fI \fP\fB\-p\fP\fI pidfile \fP]
.SH OPIS
\fBbootlogd\fP runs in the background and copies all strings sent to the
\fI/dev/console\fP device to a logfile. If the \fIlogfile\fP is not accessible,
the messages will be kept in memory until it is.
.SH OPCJE
.IP \fB\-d\fP
Do not fork and run in the background.
.IP \fB\-e\fP
Print escape characters to the boot log file. This turns off filtering of
escape characters and allows tools like GNU \fBless\fP(1) to see and use colour
control characters (show the log in colour).
.IP \fB\-c\fP
Attempt to write to the logfile even if it does not yet exist.  Without this
option, \fBbootlogd\fP will wait for the logfile to appear before attempting to
write to it. This behavior prevents \fBbootlogd\fP from creating logfiles under
mount points.
.IP \fB\-r\fP
If there is an existing logfile called \fIlogfile\fP rename it to \fIlogfile~\fP
unless \fIlogfile~\fP already exists.
.IP \fB\-s\fP
Ensure that the data is written to the file after each line by calling
\fBfdatasync\fP(3).  This will slow down a \fBfsck\fP(8)  process running in
parallel.
.IP \fB\-v\fP
Show version.
.IP "\fB\-l\fP \fIlogfile\fP"
Log to this logfile. The default is \fI/var/log/boot\fP.
.IP "\fB\-p\fP \fIpidfile\fP"
Put process\-id in this file. The default is no pidfile.
.SH UWAGI
\fBbootlogd\fP saves log data which includes control characters. The log is
technically a text file, but not very easy for humans to read. To address
this the \fBreadbootlog\fP(1) command can be used to display the boot log
without the control characters.
.SH BUGS
\fBbootlogd\fP works by redirecting the console output from the console
device.  (Consequently \fBbootlogd\fP requires PTY support in the kernel
configuration.)  It copies that output to the real console device and to a
log file.  There is no standard way of ascertaining the real console device
if you have a new\-style \fI/dev/console\fP device (major 5, minor 1)  so
\fBbootlogd\fP parses the kernel command line looking for \fBconsole=...\fP lines
and deduces the real console device from that.  If that syntax is ever
changed by the kernel, or a console type is used that \fBbootlogd\fP does not
know about then \fBbootlogd\fP will not work.

.SH AUTOR
.MT miquels@\:cistron\:.nl
Miquel van Smoorenburg
.ME
.SH "ZOBACZ TAKŻE"
\fBdmesg\fP(8), \fBfdatasync\fP(3), \fBreadbootlog\fP(1)
