HomeFreeBSD

automount(8): fix absolute path when creating a mountpoint

Description

automount(8): fix absolute path when creating a mountpoint

When executing automount(8), it will attempt to create the directory where an
autofs filesystem is to be mounted. Explicity set the root path for this
directory to "/".

This fixes the issue where the directory being created was being treated as a
relative path instead of an absolute path (as expected).

PR: 224601
Reported by: kusumi.tomohiro@gmail.com
Reviewed by: trasz
Differential Revision: https://reviews.freebsd.org/D27832

(cherry picked from commit 63640b2f552c0476f50484635eb9888eafcd22dc)

Details

Provenance
rewAuthored on Feb 17 2021, 9:22 AM
Reviewer
trasz
Differential Revision
D27832: autmount(8): fix absolute path when creating a mountpoint
Parents
rG8c3fa20b9dd8: Skip the vm.pmap.kernel_maps sysctl by default.
Branches
Unknown
Tags
Unknown