*BSD News Article 48361


Return to BSD News archive

Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help! PCNFSD?
Date: 7 Aug 1995 13:01:33 +0200
Organization: Private U**x site, Dresden.
Lines: 31
Message-ID: <404rqd$j61@bonnie.tcd-dresden.de>
References: <3vleat$qvk@alterdial.uu.net> <3vptue$2dm@bonnie.tcd-dresden.de> <DCsxAr.Ew1@theatre.pandora.sax.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Martin Welk <mw@theatre.pandora.sax.de> wrote:

>     /sbin/mountd [-n] [exportsfile]

>So it is -n, not -r.

Hmm, convinced. :)

>(BTW: remember to check your /etc/exports file (man exports) so that
>necessary directories are exported to your NFS clients. If you change
>it, make mountd re-read that file. I think, you can do this with a
>kill -HUP <PID-of-mountd> or umount and mount any directory. Don't
>forget to look at the console if mountd reports any /etc/exports
>errors :-) )

There will be the day when i'm going to import a script named
`exportfs' into FreeBSD, with just that contents:

#!/bin/sh
if [ -f /var/run/mountd.pid ] ; then
	kill -HUP `cat /var/run/mountd.pid`
else
	mountd
fi

(I know that the check for a stale /var/run/mountd.pid is missing...)
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)