summaryrefslogtreecommitdiffstats
path: root/sbin/savecore
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-29 16:53:27 +0000
committerru <ru@FreeBSD.org>2002-05-29 16:53:27 +0000
commitcd938388995b8934503fbb460a0132f24a9793c8 (patch)
treefd95ec8f7e6dc4d242ca406c935d6f4e7b924106 /sbin/savecore
parent468da1a22dfa2fe6932657f293675160500feb1c (diff)
downloadFreeBSD-src-cd938388995b8934503fbb460a0132f24a9793c8.zip
FreeBSD-src-cd938388995b8934503fbb460a0132f24a9793c8.tar.gz
mdoc(7) police: nits.
Diffstat (limited to 'sbin/savecore')
-rw-r--r--sbin/savecore/savecore.829
1 files changed, 21 insertions, 8 deletions
diff --git a/sbin/savecore/savecore.8 b/sbin/savecore/savecore.8
index 34dc86b..6f63132 100644
--- a/sbin/savecore/savecore.8
+++ b/sbin/savecore/savecore.8
@@ -45,11 +45,13 @@
.Op Fl fkvz
.Op Ar directory Op Ar device ...
.Sh DESCRIPTION
-.Nm Savecore
+The
+.Nm
+utility
copies a core dump into
-.Fa directory ,
+.Ar directory ,
or the current working directory if no
-.Fa directory
+.Ar directory
argument is given,
and enters a reboot message and information about the core dump into
the system log.
@@ -71,13 +73,20 @@ Compress the core dump and kernel (see
.Xr gzip 1 ) .
.El
.Pp
-.Nm Savecore
+The
+.Nm
+utility
looks for dumps on each device specified by the
.Ar device
argument(s), or on each device in
.Pa /etc/fstab
-marked as "dump" or "swap".
-.Nm Savecore
+marked as
+.Dq dump
+or
+.Dq swap .
+The
+.Nm
+utility
checks the core dump in various ways to make sure that it is complete.
If it passes these checks, it saves the core image in
.Ar directory Ns Pa /vmcore.#
@@ -89,7 +98,9 @@ and it is incremented and stored back into the file each time
.Nm
successfully runs.
.Pp
-.Nm Savecore
+The
+.Nm
+utility
also checks the available disk space before attempting to make the copies.
If there is insufficient disk space in the filesystem containing
.Ar directory ,
@@ -106,7 +117,9 @@ so that future invocations of
.Nm
will ignore it.
.Pp
-.Nm Savecore
+The
+.Nm
+utility
is meant to be called near the end of the initialization file
.Pa /etc/rc
(see
OpenPOWER on IntegriCloud