aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2016-04-09 20:30:50 +0000
committerAlexander Motin <mav@FreeBSD.org>2016-04-09 20:30:50 +0000
commiteaee150e3fa55f875321dac94e76403ad4c978e1 (patch)
tree0cacf4d93390959c44399ffc62398ba6bbc50ff7 /sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h
parent59e4a8cd1c77a46807ed9a8c2aa30f1ae4dcc6e5 (diff)
parent41e0d6d109748753e7499358bb0e13e806e3d7f5 (diff)
downloadsrc-eaee150e3fa55f875321dac94e76403ad4c978e1.tar.gz
src-eaee150e3fa55f875321dac94e76403ad4c978e1.zip
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
Notes
Notes: svn path=/head/; revision=297763
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h b/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h
index 3818616d41bb..7c25ddd73626 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h
+++ b/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h
@@ -785,6 +785,10 @@ typedef struct ddt_histogram {
#define ZFS_DRIVER "zfs"
#define ZFS_DEV_NAME "zfs"
#define ZFS_DEV "/dev/" ZFS_DEV_NAME
+#define ZFS_DISK_ROOT "/dev/dsk"
+#define ZFS_DISK_ROOTD ZFS_DISK_ROOT "/"
+#define ZFS_RDISK_ROOT "/dev/rdsk"
+#define ZFS_RDISK_ROOTD ZFS_RDISK_ROOT "/"
/* general zvol path */
#define ZVOL_DIR "/dev/zvol"