*BSD News Article 92588


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.nl.innet.net!INnl.net!feed1.news.innet.be!INbe.net!stns.news.pipex.net!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.lan.awfulhak.org (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /etc/exports and mounting from a SunOS machine
Date: 2 Apr 1997 09:09:35 GMT
Organization: Awfulhak Ltd.
Lines: 37
Message-ID: <5ht7of$efs@ui-gate.utell.co.uk>
References: <sinkr.859489032@tempermental> <5hojip$ai9@uriah.heep.sax.de>
Reply-To: brian@awfulhak.demon.co.uk, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Cc: brian@awfulhak.org
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38275

In article <5hojip$ai9@uriah.heep.sax.de>,
	j@uriah.heep.sax.de (J Wunsch) writes:
> sinkr@tempermental.cbl.cees.edu (Robert Sink) wrote:
> 
>> mount_nfs -P machinename:/dir1/subdir /wherever/blah
> 
>> Therefore, how do I figure this '-P' into the /etc/fstab entry
>> so that I do not have to mount these via rc.local?
> 
> 	mount -o -P machinename:/dir1/subdir /wherever/blah
> 
> is the correct command.  Also, you might want to use NFSv3 together
> with the Sun, this makes:
> 
> 	mount -o -3,-P machinename:/dir1/subdir /wherever/blah
> 
> Now it should be obvious what to put into your fstab :)
> 
> machinename:/dir1/subdir /wherever/blah   nfs  rw,-3,-P  0 0

Hmm, I was playing with this only last night.  The server is
-current from April 1 and the client is 2.2.1 from March 17
(just before release).  -current is insisting on a reserved
port at the moment.

mount -o -P got permission denied as did mount -o resvport
(the manual documents resvport as a bad idea anyway).  Also,
-P in /etc/fstab didn't help :(

mount_nfs -o -P was the only thing that I could get to work :(
There may be something seriously wrong (or I may have hosed my
machine).  I'll look into it in more detail tonight.

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !