Searched refs:mountdpid (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/lib/libshare/os/freebsd/
H A Dnfs.c424 pid_t mountdpid; local
426 pfh = pidfile_open(_PATH_MOUNTDPID, 0600, &mountdpid);
436 /* We have mountd(8) PID in mountdpid variable. */
437 kill(mountdpid, SIGHUP);
/freebsd-13-stable/sbin/mount/
H A Dmount.c204 pid_t mountdpid; local
206 mountdpid = 0;
207 pfh = pidfile_open(_PATH_MOUNTDPID, 0600, &mountdpid);
222 if (mountdpid <= 0) {
223 warnx("mountd pid %d, refusing to send SIGHUP", mountdpid);
227 /* We have mountd(8) PID in mountdpid varible, let's signal it. */
228 if (kill(mountdpid, SIGHUP) == -1)

Completed in 161 milliseconds