aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/decryptcore/decryptcore.8
diff options
context:
space:
mode:
authorKonrad Witaszczyk <def@FreeBSD.org>2017-02-08 23:17:23 +0000
committerKonrad Witaszczyk <def@FreeBSD.org>2017-02-08 23:17:23 +0000
commit4b30cd46a5ad5dd085646725c39813e9526afe6d (patch)
tree182a3cbaa8def369b1e38ea3d2690cc11efff52e /sbin/decryptcore/decryptcore.8
parent0bce01b26960dd74ec8a9b3293c369593f54561b (diff)
downloadsrc-4b30cd46a5ad5dd085646725c39813e9526afe6d.tar.gz
src-4b30cd46a5ad5dd085646725c39813e9526afe6d.zip
Don't decrypt a core if a vmcore file already exists by default.
Allow to change this behaviour using the -f flag. Approved by: pjd (mentor)
Notes
Notes: svn path=/head/; revision=313459
Diffstat (limited to 'sbin/decryptcore/decryptcore.8')
-rw-r--r--sbin/decryptcore/decryptcore.816
1 files changed, 13 insertions, 3 deletions
diff --git a/sbin/decryptcore/decryptcore.8 b/sbin/decryptcore/decryptcore.8
index c1c910a5936d..a494e446252c 100644
--- a/sbin/decryptcore/decryptcore.8
+++ b/sbin/decryptcore/decryptcore.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 13, 2016
+.Dd February 9, 2017
.Dt DECRYPTCORE 8
.Os
.Sh NAME
@@ -32,13 +32,13 @@
.Nd "decrypt a core dump of the operating system"
.Sh SYNOPSIS
.Nm
-.Op Fl Lv
+.Op Fl fLv
.Fl p Ar privatekeyfile
.Fl k Ar keyfile
.Fl e Ar encryptedcore
.Fl c Ar core
.Nm
-.Op Fl Lv
+.Op Fl fLv
.Op Fl d Ar crashdir
.Fl p Ar privatekeyfile
.Fl n Ar dumpnr
@@ -70,10 +70,20 @@ file where
corresponds to
.Ar dumpnr .
.Pp
+By default
+.Nm
+does not overwrite an old core dump as a user might want to store the core
+somewhere else for the future.
+This behaviour can be changed using the
+.Fl f
+flag.
+.Pp
The
.Nm
utility can be started with the following command line arguments:
.Bl -tag -width ".Fl e Ar encryptedcore"
+.It Fl f
+Remove a decryped core dump if it already exists.
.It Fl L
Write log messages to
.Xr syslogd 8 .