*BSD News Article 62656


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in2.uu.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!newsserv.uni-bayreuth.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: NFS exporting a CDROM
Date: 2 Mar 1996 20:16:48 GMT
Organization: Private BSD site, Dresden
Lines: 31
Message-ID: <4haabg$af@uriah.heep.sax.de>
References: <31331F7C.4578@metrosol.demon.co.uk>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

Steve Gailey <steveg@metrosol.demon.co.uk> writes:

> I wish to export a CD rom from my FREEBSD system to a couple of PC's. I
> already export a couple of other file systems from this machine with no
> problems.
> 
> What I have is that I cannot export it as a filesystem, because I am not
> mounting the CD untill after the NFS daemons have started, so the
> directory
> specified in /etc/exports is nothing but a mount point.
> 
> If I export a filesystem and then mount the CD on a directory within
> that
> filesystem, nothing is seen by the pc's.
> 
> Do I need to wake up the nfs daemons?

You can

	kill -HUP `cat /var/run/mountd.pid`

for this.  You could also put a CD-ROM into the drive and have it
mounted at boot time.  If you are going to replace the CD later,
mountd will automatically get notified about this.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)