aboutsummaryrefslogtreecommitdiff
path: root/sbin/gbde
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-11-27 20:54:51 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-11-27 20:54:51 +0000
commit151035603507e09c57f67d0c6b551fdf2941d198 (patch)
tree5db4674d8a9c005bc97a1db9ac60b9c6da3a752a /sbin/gbde
parentccc5f62f97f4543fad4eb80175003b3e1f0c75de (diff)
downloadsrc-151035603507e09c57f67d0c6b551fdf2941d198.tar.gz
src-151035603507e09c57f67d0c6b551fdf2941d198.zip
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@
Notes
Notes: svn path=/head/; revision=123017
Diffstat (limited to 'sbin/gbde')
-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 1b4d78837eaf..00533042363b 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