*BSD News Article 82890


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!tezcat!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!cam-news-feed2.bbnplanet.com!transfer.stratus.com!usenet
From: Richard Pontefract <Richard_Pontefract@stratus.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Exporting a mounted CD-ROM
Date: Fri, 15 Nov 1996 09:40:42 +0000
Organization: Stratus Computer Inc, Marlboro MA
Lines: 36
Message-ID: <328C3A9A.4EC8@stratus.com>
References: <56gl8q$er9@news1.mnsinc.com>
NNTP-Posting-Host: pc152.tcamuk.stratus.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)

I have exactly the same configuration here, one HD partition exported as
a public drive, and a CDROM exported for installing the likes of MS
Office.  This works fine for me.  My /etc/exports file looks like:

 /cdrom   -alldirs -mapall=nfs -network 198.115.48 -mask 255.255.255.0
 /public  -alldirs -mapall=nfs -network 198.115.48 -mask 255.255.255.0  

This will complain if no CDROM is present in the drive, so the procedure
for exporting a CD is:

  mount -t cd9660 /dev/wcd0c /cdrom
  kill -HUP `cat /var/run/mountd.pid`

The last line reinits the mountd daemon in order to re-read the exports
file.  

The only other thing I have is pcnfsd configured.  Set pcnfsd=YES in
/etc/sysconfig.

I'm not sure if any of that helps, but it does work.  

Good luck

Rick

ganderson@mail.os2bbs.com wrote:
> 
> I have a FreeBSD 2.1 machine that I use as an NFS server.  Parts of the
> file system that are on the hard disk get exported correctly, and can
> be mounted on the allowed systems.  But I just can't seem to export
> a directory that has a CD-ROM mounted on it and mount it from another
> machine.  The CD-ROMs are PC/Windows format and I am trying to NFS
> mount them on a Win95 laptop.  Any ideas or suggestions?
> 
> Thanks,
> -Andy (ganderson@os2bbs.com -or- ganderson@ida.org)