Print this page
Temp stuff on salted-hash for DDT.


 163         ZPOOL_PROP_CAPACITY,
 164         ZPOOL_PROP_ALTROOT,
 165         ZPOOL_PROP_HEALTH,
 166         ZPOOL_PROP_GUID,
 167         ZPOOL_PROP_VERSION,
 168         ZPOOL_PROP_BOOTFS,
 169         ZPOOL_PROP_DELEGATION,
 170         ZPOOL_PROP_AUTOREPLACE,
 171         ZPOOL_PROP_CACHEFILE,
 172         ZPOOL_PROP_FAILUREMODE,
 173         ZPOOL_PROP_LISTSNAPS,
 174         ZPOOL_PROP_AUTOEXPAND,
 175         ZPOOL_PROP_DEDUPDITTO,
 176         ZPOOL_PROP_DEDUPRATIO,
 177         ZPOOL_PROP_FREE,
 178         ZPOOL_PROP_ALLOCATED,
 179         ZPOOL_PROP_READONLY,
 180         ZPOOL_PROP_COMMENT,
 181         ZPOOL_PROP_EXPANDSZ,
 182         ZPOOL_PROP_FREEING,

 183         ZPOOL_NUM_PROPS
 184 } zpool_prop_t;
 185 
 186 /* Small enough to not hog a whole line of printout in zpool(1M). */
 187 #define ZPROP_MAX_COMMENT       32
 188 
 189 #define ZPROP_CONT              -2
 190 #define ZPROP_INVAL             -1
 191 
 192 #define ZPROP_VALUE             "value"
 193 #define ZPROP_SOURCE            "source"
 194 
 195 typedef enum {
 196         ZPROP_SRC_NONE = 0x1,
 197         ZPROP_SRC_DEFAULT = 0x2,
 198         ZPROP_SRC_TEMPORARY = 0x4,
 199         ZPROP_SRC_LOCAL = 0x8,
 200         ZPROP_SRC_INHERITED = 0x10,
 201         ZPROP_SRC_RECEIVED = 0x20
 202 } zprop_source_t;




 163         ZPOOL_PROP_CAPACITY,
 164         ZPOOL_PROP_ALTROOT,
 165         ZPOOL_PROP_HEALTH,
 166         ZPOOL_PROP_GUID,
 167         ZPOOL_PROP_VERSION,
 168         ZPOOL_PROP_BOOTFS,
 169         ZPOOL_PROP_DELEGATION,
 170         ZPOOL_PROP_AUTOREPLACE,
 171         ZPOOL_PROP_CACHEFILE,
 172         ZPOOL_PROP_FAILUREMODE,
 173         ZPOOL_PROP_LISTSNAPS,
 174         ZPOOL_PROP_AUTOEXPAND,
 175         ZPOOL_PROP_DEDUPDITTO,
 176         ZPOOL_PROP_DEDUPRATIO,
 177         ZPOOL_PROP_FREE,
 178         ZPOOL_PROP_ALLOCATED,
 179         ZPOOL_PROP_READONLY,
 180         ZPOOL_PROP_COMMENT,
 181         ZPOOL_PROP_EXPANDSZ,
 182         ZPOOL_PROP_FREEING,
 183         ZPOOL_PROP_DDT_SALT,
 184         ZPOOL_NUM_PROPS
 185 } zpool_prop_t;
 186 
 187 /* Small enough to not hog a whole line of printout in zpool(1M). */
 188 #define ZPROP_MAX_COMMENT       32
 189 
 190 #define ZPROP_CONT              -2
 191 #define ZPROP_INVAL             -1
 192 
 193 #define ZPROP_VALUE             "value"
 194 #define ZPROP_SOURCE            "source"
 195 
 196 typedef enum {
 197         ZPROP_SRC_NONE = 0x1,
 198         ZPROP_SRC_DEFAULT = 0x2,
 199         ZPROP_SRC_TEMPORARY = 0x4,
 200         ZPROP_SRC_LOCAL = 0x8,
 201         ZPROP_SRC_INHERITED = 0x10,
 202         ZPROP_SRC_RECEIVED = 0x20
 203 } zprop_source_t;