Date: Thu, 27 Jun 2002 10:30:03 -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: <200206271730.g5RHU3PL084959@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 10:23:05 -0700
On Thu, Jun 27, 2002 at 09:38:14AM -0700, Jin Guojun[DSD] wrote:
> "Crist J. Clark" wrote:
[snip]
> > I can't reproduce this.
> >
> > # uname -r
> > 4.6-RELEASE
> > # grep ^/export /etc/exports
> > /export -alldirs -ro -network 192.168.64 -mask 255.255.255.0
> > # kill -HUP `cat /var/run/mountd.pid`
> > # showmount -e | grep ^/export
> > /export 192.168.64.0
> >
> > And on a different machine on that net, I can mount it fine.
>
> Are you sure that you understand or did things correctly? :-)
> (Assume that all lines you typed are not typo !!!)
>
> Your netmask is 255.255.255.0 not 0xffffff00. If not typo, plesse try
> 0xffffff00 , which is asked in "How-To-Repeat" section.
Sorry. Wrong cut-n-paste. I did use 0xffffff00 and it seemed to work
fine. When did you notice a change? src/sbin/mountd/mountd.c hasn't
changed since 4.4-RELEASE. I can't see anything that deals with
reading the netmask that has changed since 1998. The mask is actually
read with the inet_network(3) function, and I see no significant
changes in that for several years either.
--
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?200206271730.g5RHU3PL084959>
