Annotation of 43BSDTahoe/man/man8/savecore.8, revision 1.1

1.1     ! root        1: .\" Copyright (c) 1980 Regents of the University of California.
        !             2: .\" All rights reserved.  The Berkeley software License Agreement
        !             3: .\" specifies the terms and conditions for redistribution.
        !             4: .\"
        !             5: .\"    @(#)savecore.8  6.3 (Berkeley) 5/24/86
        !             6: .\"
        !             7: .TH SAVECORE 8 "May 24, 1986"
        !             8: .UC 4
        !             9: .SH NAME
        !            10: savecore \- save a core dump of the operating system
        !            11: .SH SYNOPSIS
        !            12: .B /etc/savecore
        !            13: .I dirname
        !            14: [
        !            15: .I system
        !            16: ]
        !            17: .SH DESCRIPTION
        !            18: .I Savecore
        !            19: is meant to be called near the end of the /etc/rc file.  Its function
        !            20: is to save the core dump of the system (assuming one was made) and to
        !            21: write a reboot message in the shutdown log.
        !            22: .PP
        !            23: Savecore checks the core dump to be certain it corresponds with the
        !            24: current running unix.  If it does it saves the core image in the file
        !            25: .IR dirname /vmcore.n
        !            26: and its brother, the namelist,
        !            27: .IR dirname /vmunix.n
        !            28: The trailing ".n" in the pathnames is replaced by a number which grows
        !            29: every time
        !            30: .I savecore
        !            31: is run in that directory.
        !            32: .PP
        !            33: Before savecore writes out a core image, it reads a number from the file
        !            34: .IR dirname /minfree.
        !            35: If the number of free kilobytes on the filesystem which contains
        !            36: .I dirname
        !            37: is less than the number obtained from the minfree file,
        !            38: the core dump is not saved.
        !            39: If the minfree file does not exist, savecore always writes out the core
        !            40: file (assuming that a core dump was taken).
        !            41: .PP
        !            42: .I Savecore
        !            43: also logs a reboot message using facility LOG_AUTH (see
        !            44: .IR syslog (3))
        !            45: If the system crashed as a result of a panic,
        !            46: .I savecore
        !            47: logs the panic string too.
        !            48: .PP
        !            49: If the core dump was from a system other than /vmunix, the name
        !            50: of that system must be supplied as
        !            51: .IR sysname .
        !            52: .SH FILES
        !            53: .DT
        !            54: /vmunix                current UNIX
        !            55: .SH BUGS
        !            56: Can be fooled into thinking a core dump is the wrong size.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.