aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2020-07-22 13:00:56 +0000
committerGordon Bergling <gbe@FreeBSD.org>2020-07-22 13:00:56 +0000
commit9af25ea3bb5e84846eeb9f39a064bd0a31851cb6 (patch)
treed0902919a475aec7a5fb617ec9708ef4284aa575
parent31ad4050fe8b5ed05a8a4554256c26e3510fcaf2 (diff)
downloadsrc-9af25ea3bb5e84846eeb9f39a064bd0a31851cb6.tar.gz
src-9af25ea3bb5e84846eeb9f39a064bd0a31851cb6.zip
geli(8): Add missing commands in the EXAMPLES section
- Add a missing 'geli attach' command - Fix the passphrase prompt for a 'geli attach' command Reported by: Fabian Keil <freebsd-listen at fabiankeil dot de> Reviewed by: bcr (mentor) Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D25761
Notes
Notes: svn path=/head/; revision=363416
-rw-r--r--lib/geom/eli/geli.86
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/geom/eli/geli.8 b/lib/geom/eli/geli.8
index 0d23c4e09a49..02bff7bd5380 100644
--- a/lib/geom/eli/geli.8
+++ b/lib/geom/eli/geli.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 20, 2020
+.Dd July 22, 2020
.Dt GELI 8
.Os
.Sh NAME
@@ -1130,6 +1130,8 @@ is requested when geli init is called.
# geli init -K /root/private0.key -s 4096 /dev/md0
Enter new passphrase:
Reenter new passphrase:
+# geli attach -k /root/private0.key /dev/md0
+Enter passphrase:
# dd if=/dev/random of=/dev/md0.eli bs=1m
.Ed
.Pp
@@ -1150,7 +1152,7 @@ It is recommended to do this procedure after the boot, because otherwise
the boot process would be waiting for the passphrase input.
.Bd -literal -offset indent
# geli attach -k /root/private0.key /dev/md0
-Enter new passphrase:
+Enter passphrase:
# mount /dev/md0.eli /private
.Ed
.Sh ENCRYPTION MODES