From nobody@FreeBSD.org  Mon Apr 14 02:06:38 2014
Return-Path: <nobody@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 1C9A24AA
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <mhallpub@mailc.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: fstab man page has incorrect option "keylength" listed for .eli devices
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         188582
>Category:       docs
>Synopsis:       fstab man page has incorrect option "keylength" listed for .eli devices
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brueffer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 14 02:10:00 UTC 2014
>Closed-Date:    Thu Apr 17 12:48:47 CEST 2014
>Last-Modified:  Thu Apr 17 10:50:00 UTC 2014
>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:

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/188582: commit references a PR
Date: Mon, 14 Apr 2014 06:59:53 +0000 (UTC)

 Author: brueffer
 Date: Mon Apr 14 06:59:49 2014
 New Revision: 264453
 URL: http://svnweb.freebsd.org/changeset/base/264453
 
 Log:
   Correct geli parameter.
   
   PR:		188582
   Submitted by:	Michael Hall
   MFC after:	3 days
 
 Modified:
   head/share/man/man5/fstab.5
 
 Modified: head/share/man/man5/fstab.5
 ==============================================================================
 --- head/share/man/man5/fstab.5	Mon Apr 14 06:34:08 2014	(r264452)
 +++ head/share/man/man5/fstab.5	Mon Apr 14 06:59:49 2014	(r264453)
 @@ -28,7 +28,7 @@
  .\"     @(#)fstab.5	8.1 (Berkeley) 6/5/93
  .\" $FreeBSD$
  .\"
 -.Dd September 10, 2013
 +.Dd April 14, 2014
  .Dt FSTAB 5
  .Os
  .Sh NAME
 @@ -241,7 +241,7 @@ devices will cause automatic creation of
  The
  .Dq ealgo ,
  .Dq aalgo ,
 -.Dq keylength ,
 +.Dq keylen ,
  and
  .Dq sectorsize
  options may be passed to control those
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: brueffer 
State-Changed-When: Mon Apr 14 09:00:03 CEST 2014 
State-Changed-Why:  
Fixed in HEAD, thanks! 


Responsible-Changed-From-To: freebsd-doc->brueffer 
Responsible-Changed-By: brueffer 
Responsible-Changed-When: Mon Apr 14 09:00:03 CEST 2014 
Responsible-Changed-Why:  
Merge reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188582 
State-Changed-From-To: patched->closed 
State-Changed-By: brueffer 
State-Changed-When: Thu Apr 17 12:48:26 CEST 2014 
State-Changed-Why:  
Merge to stable branch done. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188582 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/188582: commit references a PR
Date: Thu, 17 Apr 2014 10:43:42 +0000 (UTC)

 Author: brueffer
 Date: Thu Apr 17 10:43:38 2014
 New Revision: 264589
 URL: http://svnweb.freebsd.org/changeset/base/264589
 
 Log:
   MFC: r264453
   
   Correct geli parameter.
   
   PR:		188582
   Submitted by:	Michael Hall
 
 Modified:
   stable/10/share/man/man5/fstab.5
 Directory Properties:
   stable/10/   (props changed)
 
 Modified: stable/10/share/man/man5/fstab.5
 ==============================================================================
 --- stable/10/share/man/man5/fstab.5	Thu Apr 17 10:41:26 2014	(r264588)
 +++ stable/10/share/man/man5/fstab.5	Thu Apr 17 10:43:38 2014	(r264589)
 @@ -32,7 +32,7 @@
  .\"     @(#)fstab.5	8.1 (Berkeley) 6/5/93
  .\" $FreeBSD$
  .\"
 -.Dd September 10, 2013
 +.Dd April 14, 2014
  .Dt FSTAB 5
  .Os
  .Sh NAME
 @@ -245,7 +245,7 @@ devices will cause automatic creation of
  The
  .Dq ealgo ,
  .Dq aalgo ,
 -.Dq keylength ,
 +.Dq keylen ,
  and
  .Dq sectorsize
  options may be passed to control those
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
