Date: Sun, 20 Oct 2002 20:05:22 +0200 (CEST) From: Christian Brueffer <chris@unixpages.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/44309: Message-ID: <20021020180522.5B6DBABC9@milan.hitnet.rwth-aachen.de>
next in thread | raw e-mail | index | archive | help
>Number: 44309
>Category: docs
>Synopsis:
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 20 11:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Christian Brueffer
>Release: FreeBSD 4.7-STABLE i386
>Organization:
Aachen University of Technology (RWTH)
>Environment:
System: FreeBSD milan.hitnet.rwth-aachen.de 4.7-STABLE FreeBSD 4.7-STABLE #7: Mon Oct 14 10:21:39 CEST 2002 chris@milan.hitnet.rwth-aachen.de:/usr/obj/usr/src/sys/LORIEN i386
>Description:
s/dettach/detach/g in gbde.c and gbde.8
One small grammar fix in gbde.8
>How-To-Repeat:
>Fix:
--- gbde.c.diff begins here ---
--- gbde.c Sun Oct 20 13:16:13 2002
+++ gbde.c.modified Sun Oct 20 19:54:35 2002
@@ -67,7 +67,7 @@
fprintf(stderr, "Usage error: %s", reason);
fprintf(stderr, "Usage:\n");
fprintf(stderr, "\t%s attach dest -l filename\n", p);
- fprintf(stderr, "\t%s dettach dest\n", p);
+ fprintf(stderr, "\t%s detach dest\n", p);
fprintf(stderr, "\t%s init dest [-i] [-f filename] -l filename\n", p);
fprintf(stderr, "\t%s setkey dest [-n key] -l filename\n", p);
fprintf(stderr, "\t%s destroy dest [-n key] -l filename\n", p);
@@ -219,7 +219,7 @@
}
static void
-cmd_dettach(const char *dest)
+cmd_detach(const char *dest)
{
int i, gfd;
struct geomconfiggeom gcg;
@@ -626,7 +626,7 @@
if (!strcmp(argv[1], "attach")) {
action = ACT_ATTACH;
opts = "l:p:";
- } else if (!strcmp(argv[1], "dettach")) {
+ } else if (!strcmp(argv[1], "detach")) {
action = ACT_DETTACH;
opts = "";
} else if (!strcmp(argv[1], "init")) {
@@ -708,7 +708,7 @@
cmd_attach(&sc, dest, l_opt);
break;
case ACT_DETTACH:
- cmd_dettach(dest);
+ cmd_detach(dest);
break;
case ACT_INIT:
cmd_init(gl, dfd, f_opt, i_opt, L_opt);
--- gbde.c.diff ends here ---
--- gbde.8.diff begins here ---
--- /usr/src/sbin/gbde/gbde.8 Sun Oct 20 17:58:58 2002
+++ gbde.8.modified Sun Oct 20 19:58:46 2002
@@ -47,7 +47,7 @@
.Op Fl l Ar lockfile
.Op Fl p Ar pass-phrase
.Nm
-dettach
+detach
.Ar destination
.Nm
init
@@ -81,7 +81,7 @@
program and the kernel part is not a published interface.
.Pp
The operational aspect consists of two subcommands, one to open and attach
-a device and one to close and dettach
+a device and one to close and detach
a device to the in-kernel cryptographic gbde module.
.Pp
The management part allows initialization of the master key and lock sectors
@@ -114,8 +114,8 @@
of the parameters can be interactively edited.
.Pp
.Fl p Ar pass-phrase
-specifies the pass-phrase used to opening the device.
-If not specified the controlling terminal will be used to prompt the user
+specifies the pass-phrase used to open the device.
+If not specified, the controlling terminal will be used to prompt the user
for the pass-phrase.
.Pp
.Fl P Ar new-pass-phrase
@@ -131,10 +131,10 @@
To attach an encrypted device:
.Dl # gbde attach ad0s1f -l /etc/ad0s1f.lock
.Pp
-To dettach an encrypted device:
-.Dl # gbde dettach ad0s1f
+To detach an encrypted device:
+.Dl # gbde detach ad0s1f
.Pp
-To initialize the second key using a dettached lockfile and a trivial
+To initialize the second key using a detached lockfile and a trivial
pass-phrase:
.Dl # gbde setkey ad0s1f -n 2 -P foo -L key2.lockfile
.Pp
--- gbde.8.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021020180522.5B6DBABC9>
