svn commit: r337749 - head/usr.sbin/autofs

Edward Tomasz Napierala trasz at FreeBSD.org
Tue Aug 14 13:52:09 UTC 2018


Author: trasz
Date: Tue Aug 14 13:52:08 2018
New Revision: 337749
URL: https://svnweb.freebsd.org/changeset/base/337749

Log:
  Add the "autoro" flag to /media.  This makes it attempt to mount
  it read-only instead of just failing if the media is write-protected.
  
  The /net doesn't seem to require the flag.
  
  MFC after:	2 weeks
  Relnotes:	yes
  Sponsored by:	DARPA, AFRL

Modified:
  head/usr.sbin/autofs/auto_master

Modified: head/usr.sbin/autofs/auto_master
==============================================================================
--- head/usr.sbin/autofs/auto_master	Tue Aug 14 11:52:05 2018	(r337748)
+++ head/usr.sbin/autofs/auto_master	Tue Aug 14 13:52:08 2018	(r337749)
@@ -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,noatime
+#/media		-media		-nosuid,noatime,autoro
 #/-		-noauto


More information about the svn-src-all mailing list