summaryrefslogtreecommitdiffstats
path: root/sbin/gbde/gbde.8
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-11-27 20:54:51 +0000
committerphk <phk@FreeBSD.org>2003-11-27 20:54:51 +0000
commit5868bd1269d8837597b4a4e6d93e58e537c06e6f (patch)
tree5db4674d8a9c005bc97a1db9ac60b9c6da3a752a /sbin/gbde/gbde.8
parent78d88ae7bc4662db633ff3f41effbe33caa80f36 (diff)
downloadFreeBSD-src-5868bd1269d8837597b4a4e6d93e58e537c06e6f.zip
FreeBSD-src-5868bd1269d8837597b4a4e6d93e58e537c06e6f.tar.gz
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@
Diffstat (limited to 'sbin/gbde/gbde.8')
-rw-r--r--sbin/gbde/gbde.89
1 files changed, 9 insertions, 0 deletions
diff --git a/sbin/gbde/gbde.8 b/sbin/gbde/gbde.8
index 1b4d788..0053304 100644
--- a/sbin/gbde/gbde.8
+++ b/sbin/gbde/gbde.8
@@ -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
OpenPOWER on IntegriCloud