Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2008 13:16:01 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/124373: exports(5) doesn't mention network prefixes or IPv6
Message-ID:  <200806071316.m57DG1pZ090285@www.freebsd.org>
Resent-Message-ID: <200806071320.m57DK1oq023579@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124373
>Category:       docs
>Synopsis:       exports(5) doesn't mention network prefixes or IPv6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 07 13:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806071316.m57DG1pZ090285>