Return to BSD News archive
From: Andrew Gordon <andrew.gordon@arg1.demon.co.uk> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: export file for nfs ??? Date: Thu, 26 Jun 1997 19:45:53 +0100 Message-ID: <33B2B8E1.794BDF32@arg1.demon.co.uk> References: <33ac3098.1732371@netnews.hinet.net> <5oltuf$c8n@ui-gate.utell.co.uk> <33b14190.67895@netnews.hinet.net> NNTP-Posting-Host: arg1.demon.co.uk X-NNTP-Posting-Host: arg1.demon.co.uk [194.222.34.166] X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2-STABLE i386) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 32 Path: euryale.cc.adfa.oz.au!platinum.sge.net!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.lava.net!news.flex.com!www.nntp.primenet.com!nntp.primenet.com!enews.sgi.com!news.corp.sgi.com!news.sgi.com!nntprelay.mathworks.com!howland.erols.net!feed1.news.erols.com!dispatch.news.demon.net!demon!arg1.demon.co.uk!server.arg.sj.co.uk!nobody Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43591 Vincent Chen wrote: > > >> I have cdrom and mo on my freebsd box. Recently I want > >> to share these devices via nfs but never succeed. All my > >> freebsd stuff on a single partition and have /mo and /cdrom > >> created but these 2 device not mounted at boot time. I > >> wrote these in /etc/export: > >> > >> /cdrom /mo -ro -alldirs > >> > >> But showmount output nothing. What is the correct entry? > >> > >> Any help would be greatly appreciated. > > > >This is correct. Have up -HUPd mountd ? > > > > Ya, I even tried several combination and reboot after > every change made. But log told me only 'bad export > line /mo /cdrom'. I am trying hard to find out a 'good' > export line but never succeed. You can't have two different exports lines for the same partition. So, your existing export lines are probably good once you have mounted volumes onto /mo and /cdrom. Hence you can either: a) do the mounts of /mo and /cdrom from /etc/fstab or b) restart mountd after you have mounted them.