From owner-freebsd-hackers Tue Sep 21 15:43:57 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dt014nb6.san.rr.com (dt014nb6.san.rr.com [24.30.129.182]) by hub.freebsd.org (Postfix) with ESMTP id 262D615482 for ; Tue, 21 Sep 1999 15:43:55 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from localhost (doug@localhost) by dt014nb6.san.rr.com (8.9.3/8.8.8) with ESMTP id PAA19225; Tue, 21 Sep 1999 15:43:48 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Tue, 21 Sep 1999 15:43:47 -0700 (PDT) From: Doug X-Sender: doug@dt014nb6.san.rr.com To: Zhihui Zhang Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: The -o port=xxx option in NFS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Sep 1999, Zhihui Zhang wrote: > > On Tue, 21 Sep 1999, Zhihui Zhang wrote: > > > > > The mount_nfs manual says I can use -o port= to specify > > a port number for NFS requests. Which port number should I use: the port > > number of the portmapper (111), the port number of the mountd daemon, or > > the port number of the nfsd daemon? I also suppose I can use the > > following command: > > > > # mount -o port=xxx host:directory directory > > > > and the -o port=xxx part will be passed onto the mount_nfs. Is this > > right? > > > In answering myself, the port number should be 2049. Why do you want to specify the port? If you have no need to do that, just leave the option out. Good luck, Doug -- "My mama told me, my mama said, 'don't cry.' She said, 'you're too young a man to have as many women you got.' I looked at my mother dear and didn't even crack a smile. I said, 'If women kill me, I don't mind dyin!'" - John Belushi as "Joliet" Jake Blues, "I Don't Know" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message