Macos: remove namespace from zprops
Remove prefix to avoid conflict with user-defined properties Signed-off-by: Andrew Innes <andrew.c12@gmail.com>
This commit is contained in:
parent
956be9ab03
commit
d3acfe1ab4
|
@ -630,19 +630,19 @@ zfs_prop_init(void)
|
|||
* These props are needed for compatability with pools created
|
||||
* using openzfsonosx
|
||||
*/
|
||||
zprop_register_index(ZFS_PROP_BROWSE, "com.apple.browse", 1,
|
||||
zprop_register_index(ZFS_PROP_BROWSE, "browse", 1,
|
||||
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "on | off",
|
||||
"COM.APPLE.BROWSE", boolean_table, sfeatures);
|
||||
zprop_register_index(ZFS_PROP_IGNOREOWNER, "com.apple.ignoreowner", 0,
|
||||
zprop_register_index(ZFS_PROP_IGNOREOWNER, "ignoreowner", 0,
|
||||
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "on | off",
|
||||
"COM.APPLE.IGNOREOWNER", boolean_table, sfeatures);
|
||||
zprop_register_hidden(ZFS_PROP_LASTUNMOUNT, "COM.APPLE.LASTUNMOUNT",
|
||||
PROP_TYPE_NUMBER, PROP_READONLY, ZFS_TYPE_DATASET, "LASTUNMOUNT",
|
||||
B_FALSE, sfeatures);
|
||||
zprop_register_index(ZFS_PROP_MIMIC, "com.apple.mimic", 0,
|
||||
zprop_register_index(ZFS_PROP_MIMIC, "mimic", 0,
|
||||
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "off | hfs | apfs",
|
||||
"COM.APPLE.MIMIC_HFS", mimic_table, sfeatures);
|
||||
zprop_register_index(ZFS_PROP_DEVDISK, "com.apple.devdisk", 0,
|
||||
zprop_register_index(ZFS_PROP_DEVDISK, "devdisk", 0,
|
||||
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "poolonly | on | off",
|
||||
"COM.APPLE.DEVDISK", devdisk_table, sfeatures);
|
||||
|
||||
|
|
Loading…
Reference in New Issue