Ok,
here is what I found:
notes.ms, line 228
If your system does not support NFS mounts on ports other
than 2049, add -DCFS_PORT=2049; you will not be able to simultaneously
run the target system as an NFS server under this configuration.
cfs.h:#define CFS_PORT 2049
nfsproto.h:#define NFS_PORT 2049
nfsproto.x:const NFS_PORT = 2049
and then this code here:
if (!svc_reg(tp, NFS_PROGRAM, NFS_VERSION, nfs_program_2,
(port==2049? nc : NULL))) {
fprintf(stderr,"Can't register CFS NFS\n");
exit(1);
}
Cause the 5. argument (const char *nettype nc) is NULL in our case,
svc_reg does not register cfs within rpcbind.
If you compile with -DCFS_PORT=2049, cfs works as normal.
I'm only thinking what is the right thing to do ...
Martin
Martin Blapp, [EMAIL PROTECTED]
------------------------------------------------
Improware AG, UNIX solution and service provider
Zurlindenstrasse 29, 4133 Pratteln, Switzerland
Phone: +41 79 370 26 05, Fax: +41 61 826 93 01
------------------------------------------------
On Thu, 22 Mar 2001, Alfred Perlstein wrote:
> * Martin Blapp <[EMAIL PROTECTED]> [010322 15:00] wrote:
> >
> > Hi,
> >
> > I see, seems that (port==2049? nc : NULL) has changed in some way.
> > I'll fix that.
> >
> > PS: let's change to private discussion and not cc current anymore.
>
> Please don't, I'd like to understand what's going on here.
>
> There's also a chance someone will jump in with the answer you're
> looking for.
>
> --
> -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
> Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message