*BSD News Article 42180


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!junkers.lochard.com.au!macchi!gavin
From: gavin@lochard.com.au (Gavin Cameron)
Newsgroups: comp.os.386bsd.questions
Subject: exporting directories that aren't mount points
Date: 7 Feb 95 02:05:01 GMT
Organization: Lochard Environment Systems
Lines: 24
Message-ID: <gavin.792122701@macchi>
NNTP-Posting-Host: macchi.lochard.com.au
Summary: exporting directories that aren't mount points
X-Newsreader: NN version 6.5.0 (NOV)

Hi all,
I have a problem with exporting directories and nfs mounting.

Say I've mounted a file system under /var, I need to be able to export a part
of the tree below this, say /var/spool/pcnfs. NetBSD won't let me, or atleast
not the way I've got it setup. Is there someway that I can export part of a
file system?

This problem arises because I want to use pcnfsd for printing, and pcnfs expects
to mount /var/spool/pcnfs/${host}, which of course cannot be mounted because
only /var is exported.

If I add /var/spool/pcnfs to /etc/exports, I get a message saying that I cannot
change attributes, or something like that.

Any pointer would be greatly appreciated.

Thanks,
Gavin
--
[]---------------------------------------------------------------------------[]
| Gavin Cameron                        Lochard Environment Systems            |
| Software Engineer                    875 Glen Huntly Road                   |
| Tel: (+61 3) 532 9040                Caulfield South                        |