HomeFreeBSD

autofs: best effort to maintain mounttab and mountdtab

Description

autofs: best effort to maintain mounttab and mountdtab

When an automounted filesystem is successfully unmounted, call
rpc.umntall(8) with the -k flag.

rpc.umntall(8) is used to clean up /var/db/mounttab on the client and
/var/db/mountdtab on the server. This is only useful for NFSv3.

PR: 251906
Reviewed by: trasz
Differential Revision: https://reviews.freebsd.org/D27801

(cherry picked from commit 88e531f38c2412bf030f4e8dd563efc45b70797e)

Details

Provenance
rewAuthored on Feb 17 2021, 7:51 AM
Reviewer
trasz
Differential Revision
D27801: automount(8): try umount(8) before unmount(3)
Parents
rG09db9de2fea8: pf: Error tracing SDTs
Branches
Unknown
Tags
Unknown