svn commit: r305968 - head/etc/autofs
Edward Tomasz Napierala
trasz at FreeBSD.org
Mon Sep 19 08:51:28 UTC 2016
Author: trasz
Date: Mon Sep 19 08:51:27 2016
New Revision: 305968
URL: https://svnweb.freebsd.org/changeset/base/305968
Log:
Make autofs use the "async" flag for msdosfs and ufs filesystems mounted
on /media.
MFC after: 1 month
Modified:
head/etc/autofs/special_media
Modified: head/etc/autofs/special_media
==============================================================================
--- head/etc/autofs/special_media Mon Sep 19 07:47:56 2016 (r305967)
+++ head/etc/autofs/special_media Mon Sep 19 08:51:27 2016 (r305968)
@@ -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
More information about the svn-src-head
mailing list