From chris@milan.hitnet.rwth-aachen.de  Sun Oct 20 11:05:25 2002
Return-Path: <chris@milan.hitnet.rwth-aachen.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6BFE437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Oct 2002 11:05:25 -0700 (PDT)
Received: from milan.hitnet.rwth-aachen.de (milan.hitnet.RWTH-Aachen.DE [137.226.181.144])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A0DBC43E91
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Oct 2002 11:05:24 -0700 (PDT)
	(envelope-from chris@milan.hitnet.rwth-aachen.de)
Received: by milan.hitnet.rwth-aachen.de (Postfix, from userid 1001)
	id 5B6DBABC9; Sun, 20 Oct 2002 20:05:22 +0200 (CEST)
Message-Id: <20021020180522.5B6DBABC9@milan.hitnet.rwth-aachen.de>
Date: Sun, 20 Oct 2002 20:05:22 +0200 (CEST)
From: Christian Brueffer <chris@unixpages.org>
Reply-To: Christian Brueffer <chris@unixpages.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject:
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44309
>Category:       docs
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 20 11:10:01 PDT 2002
>Closed-Date:    Wed Nov 06 19:57:44 PST 2002
>Last-Modified:  Wed Nov 06 19:57:44 PST 2002
>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:

From: Christian Brueffer <chris@unixpages.org>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: docs/44309: Synopsis
Date: Sun, 20 Oct 2002 20:18:48 +0200

 --BXVAT5kNtrzKuDFl
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Sorry,
 
 the synopsis should have said '[PATCH] Spelling fixes for gbde.c and gbde.8'
 
 - Christian
 
 --=20
 http://www.unixpages.org			chris@unixpages.org
 GPG Pub-Key    : www.unixpages.org/cbrueffer.asc
 GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
 GPG Key ID     : 0xA0ED982D
 
 --BXVAT5kNtrzKuDFl
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.0 (FreeBSD)
 
 iD8DBQE9svOIbHYXjKDtmC0RAgx7AKDOZrWIJ5wcnravkrx8ZIO8XaeICwCfZFPs
 Mm03Yd5KXxJhlsNjiYV+ePo=
 =fyvf
 -----END PGP SIGNATURE-----
 
 --BXVAT5kNtrzKuDFl--
Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Sun Oct 20 12:57:37 PDT 2002 
Responsible-Changed-Why:  
Something for me.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44309 
State-Changed-From-To: open->closed 
State-Changed-By: trhodes 
State-Changed-When: Wed Nov 6 19:57:06 PST 2002 
State-Changed-Why:  
When I went to review this, it was already fixed.  Hence close this PR.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44309 
>Unformatted:
