Make autofs use the "async" flag for msdosfs and ufs filesystems mounted

on /media.

MFC after:	1 month
This commit is contained in:
trasz 2016-09-19 08:51:27 +00:00
parent 45119492d5
commit 20190fc6be

View File

@ -46,6 +46,8 @@ print_map_entry() {
"Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-ntfs first"
exit 1
fi
elif [ "${_fstype}" = "msdosfs" -o "${_fstype}" = "ufs" ]; then
echo "-fstype=${_fstype},nosuid,async :/dev/${_p}"
else
echo "-fstype=${_fstype},nosuid :/dev/${_p}"
fi