aboutsummaryrefslogtreecommitdiff
path: root/sbin/dumpon
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-06-13 09:28:47 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-06-13 09:28:47 +0000
commit3330a6d984ccca7c81c74f047ed52dc05eed6ec5 (patch)
treeb57f94df0a38e89535098cfb0cf619a640f692b5 /sbin/dumpon
parent38033d4c5c05f23315d02c194239951189c3c578 (diff)
downloadsrc-3330a6d984ccca7c81c74f047ed52dc05eed6ec5.tar.gz
src-3330a6d984ccca7c81c74f047ed52dc05eed6ec5.zip
dumpon(8): improve the examples a bit
While here, remove extraneous extraneous Pp Reviewed by: jhb (older version)
Notes
Notes: svn path=/head/; revision=335046
Diffstat (limited to 'sbin/dumpon')
-rw-r--r--sbin/dumpon/dumpon.89
1 files changed, 5 insertions, 4 deletions
diff --git a/sbin/dumpon/dumpon.8 b/sbin/dumpon/dumpon.8
index fd271b50e2db..79824f1b2bb7 100644
--- a/sbin/dumpon/dumpon.8
+++ b/sbin/dumpon/dumpon.8
@@ -28,7 +28,7 @@
.\" From: @(#)swapon.8 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
-.Dd March 6, 2018
+.Dd June 13, 2018
.Dt DUMPON 8
.Os
.Sh NAME
@@ -181,7 +181,6 @@ or
.Dv ZSTDIO
kernel options.
.Pp
-.Pp
The
.Fl l
flag causes
@@ -311,15 +310,17 @@ The
can be now examined using
.Xr kgdb 1 :
.Pp
-.Dl # kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.#
+.Dl # kgdb /boot/kernel/kernel vmcore.#
.Pp
or shorter:
.Pp
-.Dl # kgdb -n # /usr/lib/debug/boot/kernel/kernel.debug
+.Dl # kgdb -n #
.Pp
The core was decrypted properly if
.Xr kgdb 1
does not print any errors.
+Note that the live kernel might be at a different path
+which can be examined by looking at the kern.bootfile sysctl.
.Sh SEE ALSO
.Xr gzip 1 ,
.Xr kgdb 1 ,