freebsd-dev/usr.sbin/autofs
Robert Wing 63640b2f55 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
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D27832
2021-02-17 01:02:56 -09:00
..
autofs Move autofs related configs to usr.sbin/autofs/ 2018-08-04 22:41:17 +00:00
auto_master Add the "autoro" flag to /media. This makes it attempt to mount 2018-08-14 13:52:08 +00:00
auto_master.5 Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
automount.8 Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
automount.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
automountd.8 Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
automountd.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
autounmountd.8 Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
autounmountd.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
common.c automount(8): fix absolute path when creating a mountpoint 2021-02-17 01:02:56 -09:00
common.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
defined.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
log.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
Makefile Stop hardcoding WARNS in automount(8) et al. 2020-04-01 15:08:13 +00:00
Makefile.depend
popen.c Add SPDX tags for automount(8) et al. 2018-01-24 16:39:02 +00:00
token.l Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00