Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 1997 17:43:44 -0700 (PDT)
From:      Brion Moss <brion@queeg.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Vicki Brown <vlb@cfcl.com>, freebsd-doc@FreeBSD.ORG
Subject:   Re: exportfs - missing from Handbook (help?)
Message-ID:  <199709220043.RAA19193@coven.queeg.com>
In-Reply-To: <19970922091544.08492@lemis.com>
References:  <v03102812b04b457842b8@[140.174.42.25]> <19970922091544.08492@lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
If you'd like to make it easy, just create a script called exportfs
which contains:

	#!/bin/sh
	kill -HUP `cat /var/run/mountd.pid`

If you want to report a bug or request a feature, run send-pr; it will
drop you into an editor so you can fill out a bug-report form.

	-Brion

Greg Lehey writes:
> On Sun, Sep 21, 1997 at 01:46:41PM -0800, Vicki Brown wrote:
> > We've looked through the online documentation (starting with exports(5))
> > and into the Handbook and FAQ but we can't find this:
> >
> > Short of rebooting the system, how do we get FreeBSD to recognize a new or
> > changed entry in the /etc/exports file?
> >
> > Many Unixes implement the exportfs command but FreeBSD apparently does not
> > (what address do I use for feature requests? :-)
> 
> Change your entries in /etc/exports, then:
> 
> # ps aux | grep mountd
> root      97  0.0  0.0   596    0  ??  Is   Fri04PM   0:00.38 mountd -n
> root    8875  0.0  0.5   252  500  p4  S+    9:14AM   0:00.03 grep mountd
> # kill -1 97
> 
> 97 is the PID of mountd; that's why we look for it with ps.
> 
> Greg
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709220043.RAA19193>