DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦73f701c0e⟧ TextFile

    Length: 1382 (0x566)
    Types: TextFile
    Notes: UNIX file
    Names: »savecore.8«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man8/savecore.8« 

TextFile

.ig
	@(#)savecore.8	2.1	7/1/84
	@(#)Copyright (C) 1983 by National Semiconductor Corp.
..
.TH SAVECORE 8
.SH NAME
savecore \- save a core dump of the operating system
.SH SYNOPSIS
.B savecore
.I dirname
.SH DESCRIPTION
.PP
.I Savecore
is meant to be called at the end of the /etc/rc file.  Its function
is to save the core dump of the system (assuming one was made) and to
write a reboot message in the shutdown log.
.PP
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,
.IR dirname /vmunix.n
The trailing ".n" in the pathnames is replaced by a number which grows
every time
.I savecore
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
.I dirname
than the number obtained from the minfree file, the core dump is not done.
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,
.I savecore
records the panic string in the shut down log too.
.SH FILES
.DT
/usr/adm/shutdownlog	Shut down log
.br
/vmunix			Current UNIX
.SH BUGS