zfs_prop.c (192240) | zfs_prop.c (201143) |
---|---|
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 --- 83 unchanged lines hidden (view full) --- 92 }; 93 94 static zprop_index_t acl_inherit_table[] = { 95 { "discard", ZFS_ACL_DISCARD }, 96 { "noallow", ZFS_ACL_NOALLOW }, 97 { "restricted", ZFS_ACL_RESTRICTED }, 98 { "passthrough", ZFS_ACL_PASSTHROUGH }, 99 { "secure", ZFS_ACL_RESTRICTED }, /* bkwrd compatability */ | 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 --- 83 unchanged lines hidden (view full) --- 92 }; 93 94 static zprop_index_t acl_inherit_table[] = { 95 { "discard", ZFS_ACL_DISCARD }, 96 { "noallow", ZFS_ACL_NOALLOW }, 97 { "restricted", ZFS_ACL_RESTRICTED }, 98 { "passthrough", ZFS_ACL_PASSTHROUGH }, 99 { "secure", ZFS_ACL_RESTRICTED }, /* bkwrd compatability */ |
100 { "passthrough-x", ZFS_ACL_PASSTHROUGH_X }, |
|
100 { NULL } 101 }; 102 103 static zprop_index_t case_table[] = { 104 { "sensitive", ZFS_CASE_SENSITIVE }, 105 { "insensitive", ZFS_CASE_INSENSITIVE }, 106 { "mixed", ZFS_CASE_MIXED }, 107 { NULL } --- 60 unchanged lines hidden (view full) --- 168 register_index(ZFS_PROP_SNAPDIR, "snapdir", ZFS_SNAPDIR_HIDDEN, 169 PROP_INHERIT, ZFS_TYPE_FILESYSTEM, 170 "hidden | visible", "SNAPDIR", snapdir_table); 171 register_index(ZFS_PROP_ACLMODE, "aclmode", ZFS_ACL_GROUPMASK, 172 PROP_INHERIT, ZFS_TYPE_FILESYSTEM, 173 "discard | groupmask | passthrough", "ACLMODE", acl_mode_table); 174 register_index(ZFS_PROP_ACLINHERIT, "aclinherit", ZFS_ACL_RESTRICTED, 175 PROP_INHERIT, ZFS_TYPE_FILESYSTEM, | 101 { NULL } 102 }; 103 104 static zprop_index_t case_table[] = { 105 { "sensitive", ZFS_CASE_SENSITIVE }, 106 { "insensitive", ZFS_CASE_INSENSITIVE }, 107 { "mixed", ZFS_CASE_MIXED }, 108 { NULL } --- 60 unchanged lines hidden (view full) --- 169 register_index(ZFS_PROP_SNAPDIR, "snapdir", ZFS_SNAPDIR_HIDDEN, 170 PROP_INHERIT, ZFS_TYPE_FILESYSTEM, 171 "hidden | visible", "SNAPDIR", snapdir_table); 172 register_index(ZFS_PROP_ACLMODE, "aclmode", ZFS_ACL_GROUPMASK, 173 PROP_INHERIT, ZFS_TYPE_FILESYSTEM, 174 "discard | groupmask | passthrough", "ACLMODE", acl_mode_table); 175 register_index(ZFS_PROP_ACLINHERIT, "aclinherit", ZFS_ACL_RESTRICTED, 176 PROP_INHERIT, ZFS_TYPE_FILESYSTEM, |
176 "discard | noallow | restricted | passthrough", | 177 "discard | noallow | restricted | passthrough | passthrough-x", |
177 "ACLINHERIT", acl_inherit_table); 178 register_index(ZFS_PROP_COPIES, "copies", 1, 179 PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, 180 "1 | 2 | 3", "COPIES", copies_table); 181 register_index(ZFS_PROP_PRIMARYCACHE, "primarycache", 182 ZFS_CACHE_ALL, PROP_INHERIT, 183 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_SNAPSHOT | ZFS_TYPE_VOLUME, 184 "all | none | metadata", "PRIMARYCACHE", cache_table); --- 311 unchanged lines hidden --- | 178 "ACLINHERIT", acl_inherit_table); 179 register_index(ZFS_PROP_COPIES, "copies", 1, 180 PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, 181 "1 | 2 | 3", "COPIES", copies_table); 182 register_index(ZFS_PROP_PRIMARYCACHE, "primarycache", 183 ZFS_CACHE_ALL, PROP_INHERIT, 184 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_SNAPSHOT | ZFS_TYPE_VOLUME, 185 "all | none | metadata", "PRIMARYCACHE", cache_table); --- 311 unchanged lines hidden --- |