linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Wildcards matching ".": exports bug or just documentation bug?
@ 2002-10-04 11:57 Stephen C. Tweedie
  2002-11-13 13:55 ` Stephen C. Tweedie
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen C. Tweedie @ 2002-10-04 11:57 UTC (permalink / raw)
  To: nfs; +Cc: Stephen Tweedie, linux-fsdevel

Hi,

mountd treats wildcards in hostnames in the exports file as matching
anything, including ".".

However, the exports man page explicitly states that "*" and "?" do not
match ".":

    Machine names may contain the wildcard characters * and ?.  This can
    be used to make the exports file more compact; for instance,
    *.cs.foo.edu matches all hosts in the domain cs.foo.edu. However,
    these wildcard characters do not match the dots in a domain name, so
    the above pattern does not include hosts such as a.b.cs.foo.edu.

So, which is right, the actual behaviour or the documented behaviour?
I'd tend to lean towards the former.

--Stephen

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-13 22:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-04 11:57 Wildcards matching ".": exports bug or just documentation bug? Stephen C. Tweedie
2002-11-13 13:55 ` Stephen C. Tweedie
2002-11-13 22:13   ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).