[Bug 251906] autofs: automounter always only adds to /var/db/mounttab but never clears it

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 28 20:08:47 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251906

--- Comment #2 from Robert Wing <rew at FreeBSD.org> ---
(In reply to Martin Birgmeier from comment #1)

Hey Martin,

This patch should also fix that.

With this patch, `automount -u` will try to use umount(8) when unmounting
filesystems.

umount(8) does some additional work such as notifying the mountd server that a
NFS mount has been unmounted, which will remove the /var/db/mountdtab entry on
the mountd server. If the notification to the mountd server is successful, the
/var/db/mounttab entry will also be removed.

-Rob

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list