Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 1999 14:31:09 +0100 (CET)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to I tell nfsd that /etc/exports has changed?
Message-ID:  <199912271331.OAA21082@dorifer.heim3.tu-clausthal.de>

next in thread | raw e-mail | index | archive | help
Gianmarco Giovannelli wrote in list.freebsd-questions:
 > At 26/12/99, Oliver Fromme wrote:
 > >
 > >kill -HUP $(cat /var/run/mountd.pid)
 > 
 > killall -HUP mountd
 > 
 > should work too...

But it's less reliable, and it can be even quite dangerous.
For example when there happen to be other processes called
"mountd"...

In general, I'd advise against using killall.  The PID files
(in /var/run/pid) _do_ have a reason to exist.

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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