Add -u option to 'zfs create'
commit4b6e2a5a33957af806b708723f32b83dbafce326
authorRyan Moeller <ryan@iXsystems.com>
Fri, 4 Dec 2020 22:01:42 +0000 (4 17:01 -0500)
committerGitHub <noreply@github.com>
Fri, 4 Dec 2020 22:01:42 +0000 (4 14:01 -0800)
treee7bb691c32e6992d2c197f600247dede9e8216f3
parent8f158ae6ad98d7b4f4c583a77a44009580dee91c
Add -u option to 'zfs create'

Add -u option to 'zfs create' that prevents file system from being
automatically mounted. This is similar to the 'zfs receive -u'.

Authored by: pjd <pjd@FreeBSD.org>
FreeBSD-commit: freebsd/freebsd@35c58230e292775a694d189ff2b0bea2dcf6947d

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Ported-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11254
cmd/zfs/zfs_main.c
man/man8/zfs-create.8
tests/runfiles/common.run
tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_nomount.ksh [new file with mode: 0755]