mountd and reload

John Baldwin jhb at freebsd.org
Mon Mar 29 18:34:05 UTC 2010


On Monday 29 March 2010 1:29:49 pm Doug Barton wrote:
> On 03/29/10 09:03, John Baldwin wrote:
> > Can we come up with some sort of solution please?  Right now 'sh 
> > /etc/rc.d/mountd reload' is useless for the common case.
> 
> The common case is to enable things in rc.conf that you want to start.
> The next most common case is to use onereload for one-offs. Did you try
> that as I suggested a few days ago?

We used forcereload, but that isn't really intuitive to a user, esp. given 
that mountd is implicitly started, but issuing a reload just silently
fails.  If the reload attempt whined, or if rc.d was smarter about implicit
dependencies so that it would see that mountd was implicitly started and
thus implicitly enable reload, either of those would be a vast improvement
over the current system.

-- 
John Baldwin


More information about the freebsd-rc mailing list