From owner-freebsd-doc@FreeBSD.ORG Mon Apr 14 02:10:01 2014 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7692E4CA for ; Mon, 14 Apr 2014 02:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3947F1069 for ; Mon, 14 Apr 2014 02:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3E2A1Nv024311 for ; Mon, 14 Apr 2014 02:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3E2A1Yl024310; Mon, 14 Apr 2014 02:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 14 Apr 2014 02:10:01 GMT Resent-Message-Id: <201404140210.s3E2A1Yl024310@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Hall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C9A24AA for ; Mon, 14 Apr 2014 02:06:38 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0897F105B for ; Mon, 14 Apr 2014 02:06:38 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3E26bGe036978 for ; Mon, 14 Apr 2014 02:06:37 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3E26boL036977; Mon, 14 Apr 2014 02:06:37 GMT (envelope-from nobody) Message-Id: <201404140206.s3E26boL036977@cgiserv.freebsd.org> Date: Mon, 14 Apr 2014 02:06:37 GMT From: Michael Hall To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: docs/188582: fstab man page has incorrect option "keylength" listed for .eli devices X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2014 02:10:01 -0000 >Number: 188582 >Category: docs >Synopsis: fstab man page has incorrect option "keylength" listed for .eli devices >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 14 02:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Michael Hall >Release: 10.0 >Organization: >Environment: FreeBSD Test 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When configuring an encrypted swap partition, I found an error in the fstab man page documentation. Search for "eli" in the man page. It will go to the section where "fs_type" is being described. In the middle of that paragraph, it says: "Swap entries on .eli devices will cause automatic creation of encrypted devices. The ``ealgo'', ``aalgo'', ``keylength'', and ``sectorsize'' options may be passed to control those geli(8) parameters." The ``keylength'' paramater is an invalid option which did work when I used it in the fstab file. I found the SVN commit (r252310) where the key length parameter was documented. It should be ``keylen''. Using this spelling of the parameter, I was able to successfully set the key length for the encrypted swap partition. >How-To-Repeat: >Fix: Update the documentation to spell the key length option as "keylen". >Release-Note: >Audit-Trail: >Unformatted: