'\" -*- 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. Juli 2003" "sysvinit " Linux\-Systemverwaltungshandbuch .SH BEZEICHNUNG bootlogd \- Boot\-Meldungen aufzeichnen .SH ÜBERSICHT \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 Protokolldatei \fP] [\fI \fP\fB\-p\fP\fI PID\-Datei \fP] .SH BESCHREIBUNG \fBbootlogd\fP wird im Hintergrund ausgeführt und kopiert alle an das Gerät \fI/dev/console\fP gesendeten Zeichenketten in eine Protokolldatei. Falls auf die \fIPtotokolldatei\fP nicht zugegriffen werden kann, werden die Meldungen im Speicher behalten, bis der Zugriff wieder möglich ist. .SH OPTIONEN .IP \fB\-d\fP Do not fork and run in the background. .IP \fB\-e\fP gibt Escape\-Zeichen in die Boot\-Protokolldatei aus. Dadurch wird die Filterung der Escape\-Zeichen deaktiviert und Werkzeugen wie GNU \fBless\fP(1) ermöglicht, diese zu sehen und Farb\-Steuerzeichen zu verwenden (also das Protokoll farbig anzuzeigen). .IP \fB\-c\fP versucht, auch dann in die Protokolldatei zu schreiben, wenn diese noch nicht existiert. Ohne diese Option wartet \fBbootlogd\fP, bis die Protokolldatei erscheint, bevor ein Schreibversuch unternommen wird. Dieses Verhalten hindert \fBbootlogd\fP daran, Protokolldateien unterhalb von Einhängepunkten zu erstellen. .IP \fB\-r\fP Eine vorhandene \fIProtokolldatei\fP wird umbenannt, indem dem Namen eine Tilde angehängt wird (\fIProtokolldatei~\fP), außer wenn die \fIProtokolldatei~\fP bereits vorhanden ist. .IP \fB\-s\fP stellt sicher, dass die Daten tatsächlich in die Datei geschrieben werden, indem nach jeder Zeile \fBfdatasync\fP(3) aufgerufen wird. Dadurch wird ein parallel laufender \fBfsck\fP(8)\-Prozess verlangsamt. .IP \fB\-v\fP zeigt die Version an. .IP "\fB\-l\fP \fIProtokolldatei\fP" speichert in die angegebene Protokolldatei. Die Vorgabe ist \fI/var/log/boot\fP. .IP "\fB\-p\fP \fIPID\-Datei\fP" speichert die Prozesskennung (PID) in dieser Datei. Standardmäßig wird keine PID\-Datei gespeichert. .SH ANMERKUNGEN \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 FEHLER \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 "SIEHE AUCH" \fBdmesg\fP(8), \fBfdatasync\fP(3), \fBreadbootlog\fP(1)