From owner-freebsd-doc Sun Oct 20 11:10: 6 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC59D37B401 for ; Sun, 20 Oct 2002 11:10:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D34A43E9C for ; Sun, 20 Oct 2002 11:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9KIA1x3072218 for ; Sun, 20 Oct 2002 11:10:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9KIA1qC072217; Sun, 20 Oct 2002 11:10:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BFE437B401 for ; 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 ; 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 Reply-To: Christian Brueffer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/44309: Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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