Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 13:52:08 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337749 - head/usr.sbin/autofs
Message-ID:  <201808141352.w7EDq8nP001909@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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