Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 04:41:49 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r310005 - stable/11/etc/autofs
Message-ID:  <201612130441.uBD4fnqb020810@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Tue Dec 13 04:41:49 2016
New Revision: 310005
URL: https://svnweb.freebsd.org/changeset/base/310005

Log:
  MFC r305969 [trasz]:
  Make autofs use the "noatime" flag for msdosfs, ntfs, and ufs
  filesystems mounted on /media.

Modified:
  stable/11/etc/autofs/special_media
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/etc/autofs/special_media
==============================================================================
--- stable/11/etc/autofs/special_media	Tue Dec 13 04:39:44 2016	(r310004)
+++ stable/11/etc/autofs/special_media	Tue Dec 13 04:41:49 2016	(r310005)
@@ -40,14 +40,14 @@ print_map_entry() {
 
 	if [ "${_fstype}" = "ntfs" ]; then
 		if [ -f "/usr/local/bin/ntfs-3g" ]; then
-			echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype},nosuid	:/dev/${_p}" 
+			echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype},nosuid,noatime	:/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
 	elif [ "${_fstype}" = "msdosfs" -o "${_fstype}" = "ufs" ]; then
-		echo "-fstype=${_fstype},nosuid,async	:/dev/${_p}" 
+		echo "-fstype=${_fstype},nosuid,noatime,async	:/dev/${_p}" 
 	else
 		echo "-fstype=${_fstype},nosuid	:/dev/${_p}" 
 	fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612130441.uBD4fnqb020810>