From: Steve Dickson <SteveD@redhat.com>
To: Chuck Lever <chuck.lever@oracle.com>, linux-nfs@vger.kernel.org
Subject: Re: [PATCH 0/2] command line IPv6 support for exportfs
Date: Mon, 17 Mar 2014 10:39:55 -0400 [thread overview]
Message-ID: <5327093B.1090109@RedHat.com> (raw)
In-Reply-To: <20140312172811.42433.13869.stgit@seurat.1015granger.net>
On 03/12/2014 01:47 PM, Chuck Lever wrote:
> Though /etc/exports can contain IPv6 literals as client names, the
> exportfs command doesn't allow an IPv6 literal when adding or
> removing a temporary export.
>
> exportfs [-u] client:/path
>
> If "client" is an IPv6 presentation address, it contains colons.
> The problem is that exportfs already uses a colon to separate the
> client identifier from the export pathname.
>
> To escape colons in the client name, adopt the same mechanism that
> is used for mount.nfs. Users wrap IPv6 literals in square brackets.
>
> exportfs has to be a little more complicated than mount.nfs,
> however. It must still be able to distinguish hostname wildcards
> that use brackets, and be able to deal with network address
> prefixes.
>
> With this patch series,
>
> [abc]-machine.example.org:/export
>
> 192.168.76.16:/share
>
> [2604:8800:100:81fc:82ee:73ff:fe43:d64f]:/export/home
>
> [fe80::]/64:/var/tmp
>
> are now all accepted by exportfs.
>
> ---
>
> Chuck Lever (2):
> exportfs: Refactor exportfs() and unexportfs()
> exportfs: Support raw IPv6 addresses with "client:/path"
Both were committed...
steved.
>
>
> utils/exportfs/exportfs.c | 134 ++++++++++++++++++++++++++++++++++++-------
> utils/exportfs/exportfs.man | 16 +++++
> 2 files changed, 127 insertions(+), 23 deletions(-)
>
prev parent reply other threads:[~2014-03-17 14:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 17:47 [PATCH 0/2] command line IPv6 support for exportfs Chuck Lever
2014-03-12 17:47 ` [PATCH 1/2] exportfs: Refactor exportfs() and unexportfs() Chuck Lever
2014-03-12 17:47 ` [PATCH 2/2] exportfs: Support raw IPv6 addresses with "client:/path" Chuck Lever
2014-03-17 14:39 ` Steve Dickson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5327093B.1090109@RedHat.com \
--to=steved@redhat.com \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.