BOOTLOGD(8) | Linux-Systemverwaltungshandbuch | BOOTLOGD(8) |
bootlogd - Boot-Meldungen aufzeichnen
/sbin/bootlogd [-c] [-d] [-e] [-r] [-s] [-v] [ -l Protokolldatei ] [ -p PID-Datei ]
bootlogd wird im Hintergrund ausgeführt und kopiert alle an das Gerät /dev/console gesendeten Zeichenketten in eine Protokolldatei. Falls auf die Ptotokolldatei nicht zugegriffen werden kann, werden die Meldungen im Speicher behalten, bis der Zugriff wieder möglich ist.
bootlogd 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 readbootlog(1) command can be used to display the boot log without the control characters.
bootlogd works by redirecting the console output from the console device. (Consequently bootlogd 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 /dev/console device (major 5, minor 1) so bootlogd parses the kernel command line looking for console=... 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 bootlogd does not know about then bootlogd will not work.
dmesg(8), fdatasync(3), readbootlog(1)
21. Juli 2003 | sysvinit |