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
This commit is contained in:
Edward Tomasz Napierala 2018-08-14 13:52:08 +00:00
parent b6479158e1
commit bd9325a169
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337749

View File

@ -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