Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2017 16:56:51 +0200
From:      Olavi Kumpulainen <olavi.m.kumpulainen@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   Question on mountd
Message-ID:  <BB74132E-9F63-4DDB-9853-A8DAE3C28B64@gmail.com>

next in thread | raw e-mail | index | archive | help

Hi guys,

I notice that mount SIGHUP’s mountd every time mount succeeds. The SIGHUP causes mountd to remount all exported directories.If this happens while a NFS-client is accessing a share, an access error may occur.
For this purpose, there is an option to mount, -S, which locks nfsd while the remount is executing.

Can anyone of you share why mount needs to SIGHUP mountd in the first place? It would make sense if mountd is restarted whenever /etc/exports is modified, but always seems like overkill.

/Olavi 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BB74132E-9F63-4DDB-9853-A8DAE3C28B64>