mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
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
This commit is contained in:
parent
31ad4050fe
commit
9af25ea3bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363416
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue