aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/savecore/savecore.8
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-05-29 16:53:27 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-05-29 16:53:27 +0000
commit1fa8142d87cd51dd3710ae1a3d1da0aac11f1a5b (patch)
treefd95ec8f7e6dc4d242ca406c935d6f4e7b924106 /sbin/savecore/savecore.8
parent10cb9bd3d8a6a29f519d35b6071aef2ed6bdd89d (diff)
downloadsrc-1fa8142d87cd51dd3710ae1a3d1da0aac11f1a5b.tar.gz
src-1fa8142d87cd51dd3710ae1a3d1da0aac11f1a5b.zip
mdoc(7) police: nits.
Notes
Notes: svn path=/head/; revision=97477
Diffstat (limited to 'sbin/savecore/savecore.8')
-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 34dc86bf3bcf..6f631323500f 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