Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bootlogd(8) [linux man page]

BOOTLOGD(8)						Linux System Administrator's Manual					       BOOTLOGD(8)

NAME
bootlogd - record boot messages SYNOPSIS
/sbin/bootlogd [-c] [-d] [-r] [-s] [-v] [ -l logfile ] [ -p pidfile ] DESCRIPTION
Bootlogd runs in the background and copies all strings sent to the /dev/console device to a logfile. If the logfile is not accessible, the messages will be kept in memory until it is. OPTIONS
-d Do not fork and run in the background. -c Attempt to write to the logfile even if it does not yet exist. Without this option, bootlogd will wait for the logfile to appear before attempting to write to it. This behavior prevents bootlogd from creating logfiles under mount points. -r If there is an existing logfile called logfile rename it to logfile~ unless logfile~ already exists. -s Ensure that the data is written to the file after each line by calling fdatasync(3). This will slow down a fsck(8) process running in parallel. -v Show version. -l logfile Log to this logfile. The default is /var/log/boot. -p pidfile Put process-id in this file. The default is no pidfile. BUGS
Bootlogd works by redirecting the console output from the console device. (Consequently bootlogd requires PTY support in the kernel con- figuration.) It copies that output to the real console device and to a log file. There is no standard way of ascertaining the real con- sole device if you have a new-style /dev/console device (major 5, minor 1) so bootlogd parses the kernel command line looking for con- sole=... 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. AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl SEE ALSO
dmesg(8),fdatasync(3). Jul 21, 2003 BOOTLOGD(8)

Check Out this Related Man Page

DDRESCUELOG(1)							   User Commands						    DDRESCUELOG(1)

NAME
ddrescuelog - tool for ddrescue logfiles SYNOPSIS
ddrescuelog [options] logfile DESCRIPTION
GNU ddrescuelog - Tool for ddrescue logfiles. Manipulates ddrescue logfiles, shows their contents, converts them to/from other formats, compares them, and tests rescue status. OPTIONS
-h, --help display this help and exit -V, --version output version information and exit -a, --change-types=<ot>,<nt> change the block types of a logfile -b, --block-size=<bytes> block size in bytes [default 512] -c, --create-logfile[=<tt>] create logfile from list of blocks [+-] -d, --delete-if-done delete the logfile if rescue is finished -D, --done-status return 0 if rescue is finished -f, --force overwrite existing output files -i, --input-position=<bytes> starting position of rescue domain [0] -l, --list-blocks=<types> print block numbers of given types (?*/-+) -m, --domain-logfile=<file> restrict domain to finished blocks in file -n, --invert-logfile invert block types (finished <-> others) -o, --output-position=<bytes> starting position in output file [ipos] -p, --compare-logfile=<file> compare block types in domain of both files -q, --quiet suppress all messages -s, --max-size=<bytes> maximum size of rescue domain to be processed -t, --show-status show a summary of logfile contents -v, --verbose be verbose (a 2nd -v gives more) -x, --xor-logfile=<file> XOR the finished blocks in file with logfile -y, --and-logfile=<file> AND the finished blocks in file with logfile -z, --or-logfile=<file> OR the finished blocks in file with logfile Numbers may be followed by a multiplier: b = blocks, k = kB = 10^3 = 1000, Ki = KiB = 2^10 = 1024, M = 10^6, Mi = 2^20, G = 10^9, Gi = 2^30, etc... REPORTING BUGS
Report bugs to bug-ddrescue@gnu.org Ddrescue home page: http://www.gnu.org/software/ddrescue/ddrescue.html General help using GNU software: http://www.gnu.org/gethelp COPYRIGHT
Copyright (C) 2012 Antonio Diaz Diaz. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ddrescuelog 1.16 June 2012 DDRESCUELOG(1)
Man Page