Clarify that the encrypted device is called foo.bde and mention that

unmounting it before detaching GBDE is a good idea.

Insisted on by:	Flemming Jacobsen <fj@batmule.dk>
Approveed by:	re@
This commit is contained in:
Poul-Henning Kamp 2003-11-27 20:54:51 +00:00
parent ccc5f62f97
commit 1510356035
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123017

View File

@ -172,10 +172,19 @@ To attach an encrypted device:
.Pp
.Dl "gbde attach ad0s1f -l /etc/ad0s1f.lock"
.Pp
The encrypted device has the suffix ``.bde'' so a typical
command to create and mount a filesystem would be:
.Pp
.Dl "newfs /dev/ad0s1f.bde"
.Dl "mount /dev/ad0s1f.bde /secret"
.Pp
To detach an encrypted device:
.Pp
.Dl "gbde detach ad0s1f"
.Pp
Please notice that detaching an encrypted device corresponds to
physically removing it, do not forget to unmount the filesystem first.
.Pp
To initialize the second key using a detached lockfile and a trivial
pass-phrase:
.Pp