freebsd-dev/cddl
Andriy Gapon a565264d3c zfs clone should not mount the clone if canmount == noauto
Creation of a new filesystem does not imply an intent to mount it.

Since canmount property is not inherited and its default value is 'on',
the only scenario where this matters is zfs clone -o canmount=noauto.
zfs create -o canmount=noauto already does not mount the new filesystem.

Also see:
https://www.illumos.org/issues/5984
https://reviews.csiden.org/r/228/
dd0e0e69f5
https://github.com/zfsonlinux/zfs/issues/2241

Reviewed by:	mahrens
MFC after:	8 days
Sponsored by:	ClusterHQ
2015-06-12 11:21:35 +00:00
..
compat/opensolaris Use calloc() instead of malloc() + bzero(). This also gets rid of a warning 2014-12-08 06:10:47 +00:00
contrib zfs clone should not mount the clone if canmount == noauto 2015-06-12 11:21:35 +00:00
lib Add dependencies for libzfs_core and libzpool I missed on my first pass on this 2015-05-20 11:16:17 +00:00
sbin Build cddl/{sbin,usr.bin,usr.sbin} in parallel as all of the applications are 2015-05-20 12:26:09 +00:00
tests Add placeholder Kyuafiles for various top-level hierarchies. 2014-04-21 21:39:25 +00:00
usr.bin Remove stray DEBUG_FLAGS=-g that's been here since the initial import. 2015-05-21 14:36:12 +00:00
usr.sbin Build cddl/{sbin,usr.bin,usr.sbin} in parallel as all of the applications are 2015-05-20 12:26:09 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Make DTrace stuff compile with C99 standard. 2014-08-22 20:04:51 +00:00