From owner-freebsd-doc@FreeBSD.ORG Tue Feb 21 16:40:15 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D65616A420 for ; Tue, 21 Feb 2006 16:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E314343D69 for ; Tue, 21 Feb 2006 16:40:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1LGe962002588 for ; Tue, 21 Feb 2006 16:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1LGe9UD002587; Tue, 21 Feb 2006 16:40:09 GMT (envelope-from gnats) Date: Tue, 21 Feb 2006 16:40:09 GMT Message-Id: <200602211640.k1LGe9UD002587@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Daniel Gerzo Cc: Subject: Re: docs/93522: [patch] use rc.d script in example describing how to restart mountd in nework-servers chapter X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 16:40:15 -0000 The following reply was made to PR docs/93522; it has been noted by GNATS. From: Daniel Gerzo To: bug-followup@FreeBSD.org, danger@rulez.sk Cc: Subject: Re: docs/93522: [patch] use rc.d script in example describing how to restart mountd in nework-servers chapter Date: Tue, 21 Feb 2006 17:32:13 +0100 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I hope that this is fine now ;-) -- Sincerely, Daniel Gerzo --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rcd.diff" --- /usr/home/danger/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml.orig Thu Feb 16 09:44:00 2006 +++ /usr/home/danger/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml Sat Feb 18 15:20:53 2006 @@ -773,13 +773,16 @@ /exports -alldirs -maproot=root client01 client02 /exports/obj -ro - You must restart - mountd whenever you modify - /etc/exports so the changes can take effect. - This can be accomplished by sending the HUP signal - to the mountd process: + The mountd must be forced to + recheck the /etc/exports file whenever it + has been modified, so the changes can take effect. This can be + accomplished by invoking the mountd + &man.rc.8; script with the appropriate parameter: - &prompt.root; kill -HUP `cat /var/run/mountd.pid` + &prompt.root; /etc/rc.d/mountd reload + + Refer to for more + information about using rc scripts. Alternatively, a reboot will make FreeBSD set everything up properly. A reboot is not necessary though. --n8g4imXOkfNTN/H1--