From nobody@FreeBSD.org  Tue Jun 12 03:50:17 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2B72310657B9
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Jun 2012 03:50:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id EADC08FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Jun 2012 03:50:09 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5C3o9fl027969
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Jun 2012 03:50:09 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q5C3o9OQ027967;
	Tue, 12 Jun 2012 03:50:09 GMT
	(envelope-from nobody)
Message-Id: <201206120350.q5C3o9OQ027967@red.freebsd.org>
Date: Tue, 12 Jun 2012 03:50:09 GMT
From: Marcelo Araujo <araujo@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Missing zpool list -v documentation as well as improve zfs features example.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         168970
>Category:       bin
>Synopsis:       Missing zpool list -v documentation as well as improve zfs features example.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 12 04:00:26 UTC 2012
>Closed-Date:    Mon Jul 16 03:41:44 UTC 2012
>Last-Modified:  Mon Jul 16 03:41:44 UTC 2012
>Originator:     Marcelo Araujo
>Release:        10.0-CURRENT
>Organization:
FreeBSD
>Environment:
FreeBSD controllerB.alala.com 10.0-CURRENT FreeBSD 10.0-CURRENT #1: Wed May 30 18:05:52 CST 2012     root@controllerB.alala.com:/usr/obj/usr/src/sys/ZFS  amd64

>Description:
Document the missing zpool list -v option, add an example how activate the zfs features.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: zpool-features.5
===================================================================
--- zpool-features.5	(revision 236939)
+++ zpool-features.5	(working copy)
@@ -154,6 +154,16 @@
 available through the
 .Sy freeing
 property.
+.El
+.El
+.Sh EXAMPLES
+.Bl -tag -width 0n
+.It Sy Example 1 No Activating the async_destroy feature
+.Pp
+The following command activating the async_destroy feature on pool called tank
+.Bd -literal -offset 2n
+.Li # Ic zpool set feature@async_destroy=enabled tank
+.Ed
 .Sh SEE ALSO
 .Xr zpool 8
 .Sh AUTHORS
Index: zpool_main.c
===================================================================
--- zpool_main.c	(revision 236939)
+++ zpool_main.c	(working copy)
@@ -235,7 +235,7 @@
 	case HELP_LABELCLEAR:
 		return (gettext("\tlabelclear [-f] <vdev>\n"));
 	case HELP_LIST:
-		return (gettext("\tlist [-H] [-o property[,...]] "
+		return (gettext("\tlist [-Hv] [-o property[,...]] "
 		    "[-T d|u] [pool] ... [interval [count]]\n"));
 	case HELP_OFFLINE:
 		return (gettext("\toffline [-t] <pool> <device> ...\n"));
Index: zpool.8
===================================================================
--- zpool.8	(revision 236939)
+++ zpool.8	(working copy)
@@ -1348,6 +1348,8 @@
 .It Fl H
 Scripted mode. Do not display headers, and separate fields by a single tab
 instead of arbitrary space.
+.It Fl v
+Show more detailed pool information. 
 .It Fl o Ar property Ns Op , Ns Ar ...
 Comma-separated list of properties to display. See the
 .Qq Sx Properties


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->mm 
Responsible-Changed-By: mm 
Responsible-Changed-When: Tue Jun 12 14:23:45 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/168970: commit references a PR
Date: Tue, 12 Jun 2012 14:40:44 +0000 (UTC)

 Author: mm
 Date: Tue Jun 12 14:40:19 2012
 New Revision: 236960
 URL: http://svn.freebsd.org/changeset/base/236960
 
 Log:
   Document the -v flag for zpool list.
   
   PR:		168970
   Suggested by:	Marcelo Araujo <araujo@FreeBSD.org>
   MFC after:	3 days
 
 Modified:
   head/cddl/contrib/opensolaris/cmd/zpool/zpool.8
   head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
 
 Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool.8
 ==============================================================================
 --- head/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Tue Jun 12 14:02:38 2012	(r236959)
 +++ head/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Tue Jun 12 14:40:19 2012	(r236960)
 @@ -1348,6 +1348,8 @@ reports are printed.
  .It Fl H
  Scripted mode. Do not display headers, and separate fields by a single tab
  instead of arbitrary space.
 +.It Fl v
 +Show more detailed information.
  .It Fl o Ar property Ns Op , Ns Ar ...
  Comma-separated list of properties to display. See the
  .Qq Sx Properties
 
 Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
 ==============================================================================
 --- head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Tue Jun 12 14:02:38 2012	(r236959)
 +++ head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Tue Jun 12 14:40:19 2012	(r236960)
 @@ -235,7 +235,7 @@ get_usage(zpool_help_t idx) {
  	case HELP_LABELCLEAR:
  		return (gettext("\tlabelclear [-f] <vdev>\n"));
  	case HELP_LIST:
 -		return (gettext("\tlist [-H] [-o property[,...]] "
 +		return (gettext("\tlist [-Hv] [-o property[,...]] "
  		    "[-T d|u] [pool] ... [interval [count]]\n"));
  	case HELP_OFFLINE:
  		return (gettext("\toffline [-t] <pool> <device> ...\n"));
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/168970: commit references a PR
Date: Fri, 15 Jun 2012 07:14:31 +0000 (UTC)

 Author: mm
 Date: Fri Jun 15 07:14:16 2012
 New Revision: 237116
 URL: http://svn.freebsd.org/changeset/base/237116
 
 Log:
   MFC r236960:
   Document the -v flag for zpool list.
   
   PR:		168970
   Suggested by:	Marcelo Araujo <araujo@FreeBSD.org>
 
 Modified:
   stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8
   stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
 Directory Properties:
   stable/9/cddl/contrib/opensolaris/   (props changed)
 
 Modified: stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8
 ==============================================================================
 --- stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jun 15 06:38:55 2012	(r237115)
 +++ stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jun 15 07:14:16 2012	(r237116)
 @@ -1301,6 +1301,8 @@ reports are printed.
  .It Fl H
  Scripted mode. Do not display headers, and separate fields by a single tab
  instead of arbitrary space.
 +.It Fl v
 +Show more detailed information.
  .It Fl o Ar property Ns Op , Ns Ar ...
  Comma-separated list of properties to display. See the
  .Qq Sx Properties
 
 Modified: stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
 ==============================================================================
 --- stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Fri Jun 15 06:38:55 2012	(r237115)
 +++ stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Fri Jun 15 07:14:16 2012	(r237116)
 @@ -234,7 +234,7 @@ get_usage(zpool_help_t idx) {
  	case HELP_LABELCLEAR:
  		return (gettext("\tlabelclear [-f] <vdev>\n"));
  	case HELP_LIST:
 -		return (gettext("\tlist [-H] [-o property[,...]] "
 +		return (gettext("\tlist [-Hv] [-o property[,...]] "
  		    "[-T d|u] [pool] ... [interval [count]]\n"));
  	case HELP_OFFLINE:
  		return (gettext("\toffline [-t] <pool> <device> ...\n"));
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/168970: commit references a PR
Date: Fri, 15 Jun 2012 07:15:12 +0000 (UTC)

 Author: mm
 Date: Fri Jun 15 07:14:43 2012
 New Revision: 237117
 URL: http://svn.freebsd.org/changeset/base/237117
 
 Log:
   MFC r236960:
   Document the -v flag for zpool list.
   
   PR:		168970
   Suggested by:	Marcelo Araujo <araujo@FreeBSD.org>
 
 Modified:
   stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8
   stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
 Directory Properties:
   stable/8/cddl/contrib/opensolaris/   (props changed)
 
 Modified: stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8
 ==============================================================================
 --- stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jun 15 07:14:16 2012	(r237116)
 +++ stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jun 15 07:14:43 2012	(r237117)
 @@ -1301,6 +1301,8 @@ reports are printed.
  .It Fl H
  Scripted mode. Do not display headers, and separate fields by a single tab
  instead of arbitrary space.
 +.It Fl v
 +Show more detailed information.
  .It Fl o Ar property Ns Op , Ns Ar ...
  Comma-separated list of properties to display. See the
  .Qq Sx Properties
 
 Modified: stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
 ==============================================================================
 --- stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Fri Jun 15 07:14:16 2012	(r237116)
 +++ stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Fri Jun 15 07:14:43 2012	(r237117)
 @@ -234,7 +234,7 @@ get_usage(zpool_help_t idx) {
  	case HELP_LABELCLEAR:
  		return (gettext("\tlabelclear [-f] <vdev>\n"));
  	case HELP_LIST:
 -		return (gettext("\tlist [-H] [-o property[,...]] "
 +		return (gettext("\tlist [-Hv] [-o property[,...]] "
  		    "[-T d|u] [pool] ... [interval [count]]\n"));
  	case HELP_OFFLINE:
  		return (gettext("\toffline [-t] <pool> <device> ...\n"));
 _______________________________________________
 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->closed 
State-Changed-By: araujo 
State-Changed-When: Mon Jul 16 03:41:43 UTC 2012 
State-Changed-Why:  
It was committed some days ago by mm@! 

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