Page MenuHomeFreeBSD

D42494.diff
No OneTemporary

D42494.diff

diff --git a/usr.sbin/autofs/autofs/special_media b/usr.sbin/autofs/autofs/special_media
--- a/usr.sbin/autofs/autofs/special_media
+++ b/usr.sbin/autofs/autofs/special_media
@@ -40,7 +40,7 @@
case "${_fstype}" in
"exfat")
if [ -f "/usr/local/sbin/mount.exfat" ]; then
- echo "-mountprog=/usr/local/sbin/mount.exfat,fstype=${_fstype} :/dev/${_p}"
+ echo "-mountprog=/usr/local/sbin/mount.exfat,fstype=${_fstype},sync :/dev/${_p}"
else
/usr/bin/logger -p info -t "special_media[$$]" \
"Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-exfat first"
@@ -49,14 +49,17 @@
;;
"ntfs")
if [ -f "/usr/local/bin/ntfs-3g" ]; then
- echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype} :/dev/${_p}"
+ echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype},sync :/dev/${_p}"
else
/usr/bin/logger -p info -t "special_media[$$]" \
"Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-ntfs first"
exit 1
fi
;;
- "ext2fs" | "msdosfs")
+ "msdosfs")
+ echo "-fstype=${_fstype},sync :/dev/${_p}"
+ ;;
+ "ext2fs")
echo "-fstype=${_fstype},async :/dev/${_p}"
;;
*)

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 28, 4:06 AM (12 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17825469
Default Alt Text
D42494.diff (1 KB)

Event Timeline