zfs_prop.c (268647) | zfs_prop.c (268659) |
---|---|
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 --- 421 unchanged lines hidden (view full) --- 430 PROP_TYPE_NUMBER, PROP_READONLY, ZFS_TYPE_DATASET, 431 "USERACCOUNTING"); 432 zprop_register_hidden(ZFS_PROP_UNIQUE, "unique", PROP_TYPE_NUMBER, 433 PROP_READONLY, ZFS_TYPE_DATASET, "UNIQUE"); 434 zprop_register_hidden(ZFS_PROP_OBJSETID, "objsetid", PROP_TYPE_NUMBER, 435 PROP_READONLY, ZFS_TYPE_DATASET, "OBJSETID"); 436 zprop_register_hidden(ZFS_PROP_INCONSISTENT, "inconsistent", 437 PROP_TYPE_NUMBER, PROP_READONLY, ZFS_TYPE_DATASET, "INCONSISTENT"); | 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 --- 421 unchanged lines hidden (view full) --- 430 PROP_TYPE_NUMBER, PROP_READONLY, ZFS_TYPE_DATASET, 431 "USERACCOUNTING"); 432 zprop_register_hidden(ZFS_PROP_UNIQUE, "unique", PROP_TYPE_NUMBER, 433 PROP_READONLY, ZFS_TYPE_DATASET, "UNIQUE"); 434 zprop_register_hidden(ZFS_PROP_OBJSETID, "objsetid", PROP_TYPE_NUMBER, 435 PROP_READONLY, ZFS_TYPE_DATASET, "OBJSETID"); 436 zprop_register_hidden(ZFS_PROP_INCONSISTENT, "inconsistent", 437 PROP_TYPE_NUMBER, PROP_READONLY, ZFS_TYPE_DATASET, "INCONSISTENT"); |
438 zprop_register_hidden(ZFS_PROP_PREV_SNAP, "prevsnap", PROP_TYPE_STRING, 439 PROP_READONLY, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, "PREVSNAP"); |
|
438 439 /* oddball properties */ 440 zprop_register_impl(ZFS_PROP_CREATION, "creation", PROP_TYPE_NUMBER, 0, 441 NULL, PROP_READONLY, ZFS_TYPE_DATASET | ZFS_TYPE_BOOKMARK, 442 "<date>", "CREATION", B_FALSE, B_TRUE, NULL); 443} 444 445boolean_t --- 221 unchanged lines hidden --- | 440 441 /* oddball properties */ 442 zprop_register_impl(ZFS_PROP_CREATION, "creation", PROP_TYPE_NUMBER, 0, 443 NULL, PROP_READONLY, ZFS_TYPE_DATASET | ZFS_TYPE_BOOKMARK, 444 "<date>", "CREATION", B_FALSE, B_TRUE, NULL); 445} 446 447boolean_t --- 221 unchanged lines hidden --- |