Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 04:44:06 +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: r310007 - in stable/11/etc: . autofs
Message-ID:  <201612130444.uBD4i6Bb021034@repo.freebsd.org>

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

Log:
  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.

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

Modified: stable/11/etc/auto_master
==============================================================================
--- stable/11/etc/auto_master	Tue Dec 13 04:43:03 2016	(r310006)
+++ stable/11/etc/auto_master	Tue Dec 13 04:44:06 2016	(r310007)
@@ -5,5 +5,5 @@
 /net		-hosts		-nobrowse,nosuid,intr
 # When using the -media special map, make sure to edit devd.conf(5)
 # to move the call to "automount -c" out of the comments section.
-#/media		-media		-nosuid
+#/media		-media		-nosuid,noatime
 #/-		-noauto

Modified: stable/11/etc/autofs/special_media
==============================================================================
--- stable/11/etc/autofs/special_media	Tue Dec 13 04:43:03 2016	(r310006)
+++ stable/11/etc/autofs/special_media	Tue Dec 13 04:44:06 2016	(r310007)
@@ -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}" 



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