From nobody@FreeBSD.org  Sat Jun  7 13:16:01 2008
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 817491065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Jun 2008 13:16:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 700078FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Jun 2008 13:16:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m57DG1qS090286
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 7 Jun 2008 13:16:01 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m57DG1pZ090285;
	Sat, 7 Jun 2008 13:16:01 GMT
	(envelope-from nobody)
Message-Id: <200806071316.m57DG1pZ090285@www.freebsd.org>
Date: Sat, 7 Jun 2008 13:16:01 GMT
From: John Baldwin <jhb@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: exports(5) doesn't mention network prefixes or IPv6
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         124373
>Category:       docs
>Synopsis:       exports(5) doesn't mention network prefixes or IPv6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danger
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 07 13:20:01 UTC 2008
>Closed-Date:    Sat Jul 05 10:32:48 UTC 2008
>Last-Modified:  Sat Jul 05 10:32:48 UTC 2008
>Originator:     John Baldwin
>Release:        8-CURRENT, 6.3-RELEASE
>Organization:
>Environment:
>Description:
Back in the 5.x days when the ti-rpc RPC code was brought in, mountd was updated to support IPv6.  This includes putting IPv6 addresses in /etc/exports for the -network flag.  Also, any network address can now be followed by an optional /prefix instead of using -netmask.  Thus, instead of:

/foo -network 192.168.0.0 -netmask 255.255.255.0

you can now do:

/foo -network 192.168.0.0/24

You can also do this now for IPv6:

/foo -network 1:2:3:4::/64

The exports(5) manpage was never updated to document this however and I only found out when I went to look at the code.  I'm actually using IPv6 and /prefix on a box running 6.3, but have verified that HEAD's exports(5) is still missing the data.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: danger 
State-Changed-When: Sat Jun 21 11:38:04 UTC 2008 
State-Changed-Why:  
Take 


Responsible-Changed-From-To: freebsd-doc->danger 
Responsible-Changed-By: danger 
Responsible-Changed-When: Sat Jun 21 11:38:04 UTC 2008 
Responsible-Changed-Why:  
Set the state to feedback 

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

From: Daniel Gerzo <danger@FreeBSD.org>
To: bug-followup@FreeBSD.org, jhb@FreeBSD.org
Cc: ru@freebsd.org
Subject: Re: docs/124373: exports(5) doesn't mention network prefixes or IPv6
Date: Sat, 21 Jun 2008 13:37:35 +0200

 Hello John,
 
   does the patch at http://danger.rulez.sk/exports.5.diff work for
   you? It's based on the exports(5) manual page from NetBSD.
 
   Ruslan, can you please check whethe my changes are correct from the
   view of mdoc?
 
   Thank you guys.
 
 -- 
 Best regards,
  Daniel                          mailto:danger@FreeBSD.org
 

From: John Baldwin <jhb@freebsd.org>
To: Daniel Gerzo <danger@freebsd.org>
Cc: bug-followup@freebsd.org, ru@freebsd.org
Subject: Re: docs/124373: exports(5) doesn't mention network prefixes or IPv6
Date: Mon, 23 Jun 2008 11:00:46 -0400

 On Saturday 21 June 2008 07:37:35 am Daniel Gerzo wrote:
 > Hello John,
 >
 >   does the patch at http://danger.rulez.sk/exports.5.diff work for
 >   you? It's based on the exports(5) manual page from NetBSD.
 >
 >   Ruslan, can you please check whethe my changes are correct from the
 >   view of mdoc?
 >
 >   Thank you guys.
 
 Looks ok to me.  I would maybe do the markup fixes as a separate commit 
 though.
 
 -- 
 John Baldwin
State-Changed-From-To: feedback->patched 
State-Changed-By: danger 
State-Changed-When: Fri Jun 27 16:32:40 UTC 2008 
State-Changed-Why:  
I have commited the patch into the -HEAD branch.  I didn't opt to 
separate markup fixes as another commit as I don't really see a 
reason to do so for man pages. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/124373: commit references a PR
Date: Fri, 27 Jun 2008 16:32:22 +0000 (UTC)

 danger      2008-06-27 16:32:04 UTC
 
   FreeBSD src repository
 
   Modified files:
     usr.sbin/mountd      exports.5 
   Log:
   SVN rev 180071 on 2008-06-27 16:32:04Z by danger
   
   - markup fixes
   - advise to use rc script to SIGHUP mountd
   - add information about possiblity of using /prefix network notation [1]
   
   PR:             docs/124373
   Reviewed by:    jhb
   Obtained from:  NetBSD [1]
   MFC after:      3 days
   
   Revision  Changes    Path
   1.29      +68 -15    src/usr.sbin/mountd/exports.5
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/124373: commit references a PR
Date: Thu,  3 Jul 2008 17:02:29 +0000 (UTC)

 danger      2008-07-03 17:02:04 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     usr.sbin/mountd      exports.5 
   Log:
   SVN rev 180224 on 2008-07-03 17:02:04Z by danger
   
   MFC r180071, r180112, r180154:
   
   - markup fixes
   - advise to use rc script to SIGHUP mountd
   - add some missing words
   - add information about possiblity of using /prefix network notation [1]
   
   PR:             docs/124373 [1]
   Obtained from:  NetBSD [1]
   
   Revision  Changes    Path
   1.28.2.1  +97 -27    src/usr.sbin/mountd/exports.5
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/124373: commit references a PR
Date: Sat,  5 Jul 2008 10:29:50 +0000 (UTC)

 danger      2008-07-05 10:29:27 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     usr.sbin/mountd      exports.5 
   Log:
   SVN rev 180287 on 2008-07-05 10:29:27Z by danger
   
   MFC r154990, r180071, r180112, r180154:
   
   - use the ".Pa" macro for path names
   - markup fixes
   - advise to use rc script to SIGHUP mountd
   - add some missing words
   - add information about possiblity of using /prefix network notation [1]
   
   PR:             docs/124373 [1]
   Obtained from:  NetBSD [1]
   
   Revision  Changes    Path
   1.27.8.1  +107 -37   src/usr.sbin/mountd/exports.5
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: danger 
State-Changed-When: Sat Jul 5 10:31:28 UTC 2008 
State-Changed-Why:  
Close this one as I have synced exports.5 in RELENG_[76] with -HEAD 

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