inspec/test/unit/mock/cmd/zfs-get-all-tank-tmp
Joseph Benden 1fdecc6680 Add FreeBSD support for ZFS datasets and pools
The following new resources have been added; however, they
presently only support FreeBSD and similar.

* `zfs_dataset`: tests if a named ZFS dataset is present
  and/or has certain properties.
* `zfs_pool`: tests if a named ZFS pool is present and/or
  has certain properties.

Additionally, the `mount` resource has been reworked to
include support for FreeBSD; while the existing class
was renamed to LinuxMountParser.

Unit-tests were added for all of the above.

Signed-off-by: Joseph Benden <joe@benden.us>
2017-02-22 10:29:49 -07:00

55 lines
1.7 KiB
Text

tank/tmp type filesystem -
tank/tmp creation 1474668681 -
tank/tmp used 602697728 -
tank/tmp available 1060747661312 -
tank/tmp referenced 94834688 -
tank/tmp compressratio 1.39x -
tank/tmp mounted yes -
tank/tmp quota 0 default
tank/tmp reservation 0 default
tank/tmp recordsize 131072 default
tank/tmp mountpoint /tmp local
tank/tmp sharenfs off default
tank/tmp checksum on default
tank/tmp compression lz4 local
tank/tmp atime on default
tank/tmp devices on default
tank/tmp exec off local
tank/tmp setuid off local
tank/tmp readonly off default
tank/tmp jailed off default
tank/tmp snapdir hidden default
tank/tmp aclmode discard default
tank/tmp aclinherit restricted default
tank/tmp canmount on default
tank/tmp xattr off temporary
tank/tmp copies 1 default
tank/tmp version 5 -
tank/tmp utf8only off -
tank/tmp normalization none -
tank/tmp casesensitivity sensitive -
tank/tmp vscan off default
tank/tmp nbmand off default
tank/tmp sharesmb off default
tank/tmp refquota 0 default
tank/tmp refreservation 0 default
tank/tmp primarycache all default
tank/tmp secondarycache all default
tank/tmp usedbysnapshots 507863040 -
tank/tmp usedbydataset 94834688 -
tank/tmp usedbychildren 0 -
tank/tmp usedbyrefreservation 0 -
tank/tmp logbias latency default
tank/tmp dedup off default
tank/tmp mlslabel -
tank/tmp sync standard default
tank/tmp refcompressratio 2.61x -
tank/tmp written 163840 -
tank/tmp logicalused 679523328 -
tank/tmp logicalreferenced 204005888 -
tank/tmp volmode default default
tank/tmp filesystem_limit 18446744073709551615 default
tank/tmp snapshot_limit 18446744073709551615 default
tank/tmp filesystem_count 18446744073709551615 default
tank/tmp snapshot_count 18446744073709551615 default
tank/tmp redundant_metadata all default