]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r323194:
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Nov 2017 17:33:10 +0000 (17:33 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Nov 2017 17:33:10 +0000 (17:33 +0000)
commit77ebee821b5bb0adc3cf8826a7af79f1364bd336
tree2fb0b422dd3ce271d0c4a87cda87f9439c3aef0b
parent901ddf177008362bbd02cdceaec2a937e2695137
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@326328 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/compat/opensolaris/sys/mntent.h