docs/124373: exports(5) doesn't mention network prefixes or IPv6

John Baldwin jhb at FreeBSD.org
Sat Jun 7 13:20:02 UTC 2008


>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:



More information about the freebsd-doc mailing list