Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2017 15:07:41 +0000 (UTC)
From:      Alan Somers <asomers@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: r324062 - stable/11/sys/cddl/compat/opensolaris/sys
Message-ID:  <201709271507.v8RF7fuX001586@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Wed Sep 27 15:07:41 2017
New Revision: 324062
URL: https://svnweb.freebsd.org/changeset/base/324062

Log:
  MFC r323194:
  
  Fix remounting ZFS filesystem with "zfs mount"
  
  "zfs mount -o" passes a list of mount options directly to nmount(2) after
  sanity checking them. In particular, zfs(8) will refuse to mount an already
  existing file system unless "remount" is specified in the option list.
  However, the "remount" option only exists in Illumos. FreeBSD's equivalent is
  "update".
  
  PR:		221985
  Reviewed by:	avg
  Sponsored by:	Spectra Logic Corp
  Differential Revision:	https://reviews.freebsd.org/D12233

Modified:
  stable/11/sys/cddl/compat/opensolaris/sys/mntent.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/cddl/compat/opensolaris/sys/mntent.h
==============================================================================
--- stable/11/sys/cddl/compat/opensolaris/sys/mntent.h	Wed Sep 27 15:06:46 2017	(r324061)
+++ stable/11/sys/cddl/compat/opensolaris/sys/mntent.h	Wed Sep 27 15:07:41 2017	(r324062)
@@ -46,7 +46,7 @@
 #define	MNTOPT_NODEVICES	"nodevices"	/* Device-special disallowed */
 #define	MNTOPT_SETUID	"setuid"	/* Set uid allowed */
 #define	MNTOPT_NOSETUID	"nosetuid"	/* Set uid not allowed */
-#define	MNTOPT_REMOUNT	"remount"	/* Change mount options */
+#define	MNTOPT_REMOUNT	"update"	/* Change mount options */
 #define	MNTOPT_ATIME	"atime"		/* update atime for files */
 #define	MNTOPT_NOATIME  "noatime"	/* do not update atime for files */
 #define	MNTOPT_XATTR	"xattr"		/* enable extended attributes */



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