https://www.illumos.org/issues/6418 built/tested against openzfs/master
Note that this change includes some refactoring of "/dev/dsk" strings that appear in illumos. I ported this from FreeBSD, where "/dev/dsk" and "/dev/rdsk" are both just "/dev", so to ease porting back, I replaced these strings with constants so they only need to be changed in one place in the future. This work was originally done by @scsiguy more than 4 years ago; more recent relatively minor improvements and porting to illumos was done by me. You can view, comment on, or merge this pull request online at: https://github.com/openzfs/openzfs/pull/32 -- Commit Summary -- * 6418 zpool should have a label clearing command -- File Changes -- M usr/src/cmd/syseventd/modules/zfs_mod/zfs_mod.c (2) M usr/src/cmd/zdb/zdb.c (5) M usr/src/cmd/zpool/zpool_main.c (151) M usr/src/cmd/zpool/zpool_vdev.c (9) M usr/src/lib/libzfs/common/libzfs.h (5) M usr/src/lib/libzfs/common/libzfs_import.c (6) M usr/src/lib/libzfs/common/libzfs_pool.c (46) M usr/src/lib/libzfs/common/mapfile-vers (1) M usr/src/man/man1m/zpool.1m (28) M usr/src/uts/common/sys/fs/zfs.h (4) -- Patch Links -- https://github.com/openzfs/openzfs/pull/32.patch https://github.com/openzfs/openzfs/pull/32.diff --- Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/32
_______________________________________________ developer mailing list [email protected] http://lists.open-zfs.org/mailman/listinfo/developer
