X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/0f4556f12c8f75078501c9d1338ae7648a97f975..95f51977ddc18faa2e212f30c00a39540b39f325:/usr/man/man8/savecore.8 diff --git a/usr/man/man8/savecore.8 b/usr/man/man8/savecore.8 index ec445b4cf0..cba1c0c2a0 100644 --- a/usr/man/man8/savecore.8 +++ b/usr/man/man8/savecore.8 @@ -1,4 +1,10 @@ -.TH SAVECORE 8 "28 April 1981" +.\" Copyright (c) 1980 Regents of the University of California. +.\" All rights reserved. The Berkeley software License Agreement +.\" specifies the terms and conditions for redistribution. +.\" +.\" @(#)savecore.8 6.3 (Berkeley) 5/24/86 +.\" +.TH SAVECORE 8 "May 24, 1986" .UC 4 .SH NAME savecore \- save a core dump of the operating system @@ -17,7 +23,7 @@ write a reboot message in the shutdown log. Savecore checks the core dump to be certain it corresponds with the current running unix. If it does it saves the core image in the file .IR dirname /vmcore.n -and it's brother, the namelist, +and its brother, the namelist, .IR dirname /vmunix.n The trailing ".n" in the pathnames is replaced by a number which grows every time @@ -26,26 +32,25 @@ is run in that directory. .PP Before savecore writes out a core image, it reads a number from the file .IR dirname /minfree. -If there are fewer free blocks on the filesystem -which contains +If the number of free kilobytes on the filesystem which contains .I dirname -than the number obtained from the minfree file, the core dump is not done. +is less than the number obtained from the minfree file, +the core dump is not saved. If the minfree file does not exist, savecore always writes out the core file (assuming that a core dump was taken). .PP .I Savecore -also writes a reboot message in the shut down log. If the system crashed -as a result of a panic, +also logs a reboot message using facility LOG_AUTH (see +.IR syslog (3)) +If the system crashed as a result of a panic, .I savecore -records the panic string in the shut down log too. +logs the panic string too. .PP If the core dump was from a system other than /vmunix, the name of that system must be supplied as .IR sysname . .SH FILES .DT -/usr/adm/shutdownlog shut down log -.br /vmunix current UNIX .SH BUGS Can be fooled into thinking a core dump is the wrong size.