Re: Problems building automount
Re: Problems building automount
- Subject: Re: Problems building automount
- From: Craig Rodrigues <email@hidden>
- Date: Thu, 12 May 2005 07:47:28 -0400
On Wed, May 11, 2005 at 11:18:48PM -0700, Kevin Van Vechten wrote:
> Sorry, URLMount is a private framework, so those headers are not
> available, and there's no real workaround at this time (Bad engineer,
> no cookie). You could patch around the URLMount code to get
> automount compiled, but that wouldn't work as desired on Mac OS X.
What a shame. It defeats the point of having the automount
source code open if it cannot be compiled due to missing headers.
I've filed bug 4116865 with Apple, so hopefully something will come
of it.
I want to improve interoperability of the automounter
with Freebsd and Linux by enabling the NFSMNT_RESVPORT
by default with this patch:
--- Controller.m.orig Thu May 12 07:42:16 2005
+++ Controller.m Thu May 12 07:44:04 2005
@@ -529,7 +529,7 @@
args.maxgrouplist = NFS_MAXGRPS;
args.readahead = NFS_DEFRAHEAD;
args.fhsize = sizeof(nfs_fh);
- args.flags = NFSMNT_INT | NFSMNT_TIMEO | NFSMNT_RETRANS | NFSMNT_NOLOCKS;
+ args.flags = NFSMNT_INT | NFSMNT_TIMEO | NFSMNT_RETRANS | NFSMNT_NOLOCKS | NFSMNT_RESVPORT;
args.wsize = NFS_WSIZE;
args.rsize = NFS_RSIZE;
#else
FreeBSD and Linux NFS servers are configured by default
to reject NFS mount requests from clients
that don't use reserved ports.
--
Craig Rodrigues
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden