*BSD News Article 35526


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!netnews.upenn.edu!dsinc!spool.mu.edu!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!centre.univ-orleans.fr!univ-lyon1.fr!ensta!bsdtest.ensta.fr!bouyer
From: bouyer@bsdtest.ensta.fr (Manuel Bouyer)
Newsgroups: comp.os.386bsd.questions
Subject: Re: NetBSD 0.9 and nfsd
Date: 6 Sep 1994 15:55:29 GMT
Organization: Ecole Nationale Superieure de Techniques Avancees, Paris
Lines: 29
Distribution: world
Message-ID: <34i3dh$n8v@ici-paris.ensta.fr>
References: <1994Sep6.141935.14270@news.uit.no>
NNTP-Posting-Host: bsdtest.ensta.fr

In article <1994Sep6.141935.14270@news.uit.no>, larss@cc.uit.no (Lars Slettjord) writes:
|> I am trying to export the /usr partion on my NetBSD 0.9
|> system, but it does not work.
|> 
|> In /etc/rc I have these lines:
|> 
|> 	# if $nfs_server == YES, the machine is setup for being an nfs server
|> 	if [ X${nfs_server} = X"YES" -a -r /etc/exports ]; then
|> 	        rm -f /var/db/mountdtab
|> 	        echo -n ' mountd';              mountd
|> 	        echo -n ' nfsd';                nfsd -u 0,0,4 -t 0,0
|> 	fi
|> 
|> mountd starts ok, but I am not able to find a running nfsd process. When 
|> I try to start nfsd manually, it exits imideately and leaves no running
|> nfsd-process and no error messages.
|> 
|> Apart from this my /etc/exports file looks like this:
|> 
|> 	/ vimes sid dc9
|> 	/usr vimes sid dc9

You certainly have to recompile a kernel whith 'options NFSSERVER' 
in the config file. GENERIC kernels are not compiled whith NFS server support.

--
Manuel Bouyer, Ecole Nationale Superieure de Techniques Avancees, Paris
email: bouyer@ensta.fr
--