*BSD News Article 59404


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!spool.mu.edu!daily-planet.execpc.com!homer.alpha.net!solaris.cc.vt.edu!news.mathworks.com!gatech!sdd.hp.com!hamblin.math.byu.edu!park.uvsc.edu!usenet
From: Terry Lambert <terry@lambert.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: exporting File system
Date: 11 Jan 1996 20:52:52 GMT
Organization: Utah Valley State College, Orem, Utah
Lines: 28
Message-ID: <4d3tb4$e4l@park.uvsc.edu>
References: <4d0tde$jgs@overload.lbl.gov>
NNTP-Posting-Host: hecate.artisoft.com

jin@eubie.lbl.gov (Jin Guojun[ITG]) wrote:
] Under FreeBSD, it seems that there is no way to export /usr/local/src and
] /usr/local/share unless export the entire /usr/local.
] If /etc/exports contains such lines:
] /usr/local/share -ro -mapall=nobody:100 -network 128.3.xxx -mask 255.255.xxx.0
] /usr/local/src -ro -mapall=nobody:100 -network 128.3.xxx -mask 255.255.xxx.0

man exports

[ ... ]
	In a mount entry, the first field(s) specify the directory
	path(s) within a server filesystem that can be mounted on
	by the corresponding client(s).  There are two forms of
	this specification.  The first is to list all mount points
	as absolute directory paths separated by whitespace.  The
	second is to specify the pathname of the root of the
	filesystem followed by the -alldirs flag; this form allows
-----------------------------------^^^^^^^^
	the host(s) to mount at any point within the filesystem,
	including regular files if the ``-r'' option is used on
--------------------------------^^^^^^^^^^^^^^^^^^^^
	mountd.

                                        Terry Lambert
                                        terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.