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

Details

Provenance
rewAuthored on Feb 17 2021, 7:51 AM
Reviewer
trasz
Differential Revision
D27801: automount(8): try umount(8) before unmount(3)
Parents
R10:0dfbdd9fc269: linux(4): make getcwd(2) return ERANGE instead of ENOMEM
Branches
Unknown
Tags
Unknown