1#!/bin/ksh -p 2# vim: filetype=sh 3# 4# CDDL HEADER START 5# 6# The contents of this file are subject to the terms of the 7# Common Development and Distribution License (the "License"). 8# You may not use this file except in compliance with the License. 9# 10# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11# or http://www.opensolaris.org/os/licensing. 12# See the License for the specific language governing permissions 13# and limitations under the License. 14# 15# When distributing Covered Code, include this CDDL HEADER in each 16# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17# If applicable, add the following below this CDDL HEADER, with the 18# fields enclosed by brackets "[]" replaced with your own identifying 19# information: Portions Copyright [yyyy] [name of copyright owner] 20# 21# CDDL HEADER END 22# 23# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26# ident "@(#)zpool_get.cfg 1.6 09/06/22 SMI" 27# 28 29# $FreeBSD$ 30 31# Set the expected properties of zpool 32typeset -a properties=( 33 "size" 34 "capacity" 35 "altroot" 36 "health" 37 "guid" 38 "version" 39 "bootfs" 40 "delegation" 41 "autoreplace" 42 "cachefile" 43 "failmode" 44 "listsnapshots" 45 "autoexpand" 46 "dedupditto" 47 "dedupratio" 48 "free" 49 "allocated" 50 "readonly" 51 "comment" 52 "expandsize" 53 "freeing" 54 "fragmentation" 55 "leaked" 56 "bootsize" 57 "feature@async_destroy" 58 "feature@empty_bpobj" 59 "feature@lz4_compress" 60 "feature@multi_vdev_crash_dump" 61 "feature@spacemap_histogram" 62 "feature@enabled_txg" 63 "feature@hole_birth" 64 "feature@extensible_dataset" 65 "feature@embedded_data" 66 "feature@bookmarks" 67 "feature@filesystem_limits" 68 "feature@large_blocks" 69 "feature@sha512" 70 "feature@skein" 71 # "feature@edonr" Edonr is not yet implemented on FreeBSD 72 "feature@device_removal" 73 "feature@obsolete_counts" 74) 75 76export DISK=${DISKS%% *} 77