Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 12:10:04 -0700 (PDT)
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/39896: netmask 0xffffff00 no longer works in /etc/exports
Message-ID:  <200206271910.g5RJA4sI004556@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/39896; it has been noted by GNATS.

From: "Crist J. Clark" <crist.clark@attbi.com>
To: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/39896: netmask 0xffffff00 no longer works in /etc/exports
Date: Thu, 27 Jun 2002 11:59:55 -0700

 On Thu, Jun 27, 2002 at 11:21:15AM -0700, Jin Guojun[DSD] wrote:
 [snip]
 
 OK, I _can_ reproduce this. There is something really, really wack
 going on. This is actually the issue I thought you were refering to
 when I first read your PR.
 
 Your error is here,
 
 > eubie# echo "/data -network 131.243.2 -mask 255.255.255.0" > /etc/exports
                                        ^
 As I understand inet_network(3), you are refering to the network,
 
   131.243.0.2
 
 And if you change that to,
 
   131.243.2.0
 
 Everything in all of your examples should work fine. This should be
 trivial to do in your scripting, so I think you have the correction you
 need for your problem.
 
 The real question is why the heck did this ever work? Something quite
 strange is going on here. In my examples I was in a Class C space, and
 it worked fine. Yours is Class B, and you hit problems. But I don't
 see where Class B or Class C addresses ever come into this. Might be
 time to run mountd(8) in a debugger to see what the heck is going on
 here.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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