]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/dev/mcd/mcd.c
MFV r297760: 6418 zpool should have a label clearing command
authorAlexander Motin <mav@FreeBSD.org>
Sat, 9 Apr 2016 20:30:50 +0000 (20:30 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Sat, 9 Apr 2016 20:30:50 +0000 (20:30 +0000)
commiteaee150e3fa55f875321dac94e76403ad4c978e1
tree0cacf4d93390959c44399ffc62398ba6bbc50ff7
parent59e4a8cd1c77a46807ed9a8c2aa30f1ae4dcc6e5
parent41e0d6d109748753e7499358bb0e13e806e3d7f5
MFV r297760: 6418 zpool should have a label clearing command

Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Author: Will Andrews <will@firepipe.net>

Closes #83
Closes #32

openzfs/openzfs@9663688425131744221ea99f9e66b9ed964492ae

FreeBSD already had `zpool labelclear` functionality, so this is mostly
just a diff reduction.

MFC after: 1 month
cddl/contrib/opensolaris/cmd/zdb/zdb.c
cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
cddl/contrib/opensolaris/cmd/zpool/zpool_vdev.c
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c
sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h