From 468a7dfd1acbee3e40c9b1e87d0871eb90a4bd1c Mon Sep 17 00:00:00 2001 From: dteske Date: Tue, 13 Dec 2016 04:44:06 +0000 Subject: MFC r306011 [trasz]: Stop appending "noatime" in the autofs -media map, and instead add it to auto_master, since all filesystems seem to support it. It's cleaner this way, and easier to customize. --- etc/autofs/special_media | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/autofs') diff --git a/etc/autofs/special_media b/etc/autofs/special_media index 86824b6..a9c4b1b 100755 --- a/etc/autofs/special_media +++ b/etc/autofs/special_media @@ -41,7 +41,7 @@ print_map_entry() { case "${_fstype}" in "ntfs") if [ -f "/usr/local/bin/ntfs-3g" ]; then - echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype},nosuid,noatime :/dev/${_p}" + echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype},nosuid :/dev/${_p}" else /usr/bin/logger -p info -t "special_media[$$]" \ "Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-ntfs first" @@ -49,7 +49,7 @@ print_map_entry() { fi ;; "ext2fs" | "msdosfs" | "ufs") - echo "-fstype=${_fstype},nosuid,noatime,async :/dev/${_p}" + echo "-fstype=${_fstype},nosuid,async :/dev/${_p}" ;; *) echo "-fstype=${_fstype},nosuid :/dev/${_p}" -- cgit v1.1