Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 13:00:57 +0000 (UTC)
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363416 - head/lib/geom/eli
Message-ID:  <202007221300.06MD0v3B060343@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gbe (doc committer)
Date: Wed Jul 22 13:00:56 2020
New Revision: 363416
URL: https://svnweb.freebsd.org/changeset/base/363416

Log:
  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

Modified:
  head/lib/geom/eli/geli.8

Modified: head/lib/geom/eli/geli.8
==============================================================================
--- head/lib/geom/eli/geli.8	Wed Jul 22 12:30:31 2020	(r363415)
+++ head/lib/geom/eli/geli.8	Wed Jul 22 13:00:56 2020	(r363416)
@@ -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,
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007221300.06MD0v3B060343>