zfs.h (297763) | zfs.h (298472) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 43 unchanged lines hidden (view full) --- 52typedef enum { 53 ZFS_TYPE_FILESYSTEM = (1 << 0), 54 ZFS_TYPE_SNAPSHOT = (1 << 1), 55 ZFS_TYPE_VOLUME = (1 << 2), 56 ZFS_TYPE_POOL = (1 << 3), 57 ZFS_TYPE_BOOKMARK = (1 << 4) 58} zfs_type_t; 59 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 43 unchanged lines hidden (view full) --- 52typedef enum { 53 ZFS_TYPE_FILESYSTEM = (1 << 0), 54 ZFS_TYPE_SNAPSHOT = (1 << 1), 55 ZFS_TYPE_VOLUME = (1 << 2), 56 ZFS_TYPE_POOL = (1 << 3), 57 ZFS_TYPE_BOOKMARK = (1 << 4) 58} zfs_type_t; 59 |
60/* 61 * NB: lzc_dataset_type should be updated whenever a new objset type is added, 62 * if it represents a real type of a dataset that can be created from userland. 63 */ |
|
60typedef enum dmu_objset_type { 61 DMU_OST_NONE, 62 DMU_OST_META, 63 DMU_OST_ZFS, 64 DMU_OST_ZVOL, 65 DMU_OST_OTHER, /* For testing only! */ 66 DMU_OST_ANY, /* Be careful! */ 67 DMU_OST_NUMTYPES --- 906 unchanged lines hidden --- | 64typedef enum dmu_objset_type { 65 DMU_OST_NONE, 66 DMU_OST_META, 67 DMU_OST_ZFS, 68 DMU_OST_ZVOL, 69 DMU_OST_OTHER, /* For testing only! */ 70 DMU_OST_ANY, /* Be careful! */ 71 DMU_OST_NUMTYPES --- 906 unchanged lines hidden --- |