Debian Codegraph @

utils_notsolaris.go

raw symbols SCIP
1 //go:build !solaris
2 // +build !solaris
3
4 package zfs
5
6 import "strings"
7
8 var (
9 // List of ZFS properties to retrieve from zfs list command on a non-Solaris platform.
10 dsPropList = []string{"name", "origin", "used", "available", "mountpoint", "compression", "type", "volsize", "quota", "referenced", "written", "logicalused", "usedbydataset"}
11
12 dsPropListOptions = strings.Join(dsPropList, ",")
13
14 // List of Zpool properties to retrieve from zpool list command on a non-Solaris platform.
15 zpoolPropList = []string{"name", "health", "allocated", "size", "free", "readonly", "dedupratio", "fragmentation", "freeing", "leaked"}
16
17 zpoolPropListOptions = strings.Join(zpoolPropList, ",")
18 zpoolArgs = []string{"get", "-p", zpoolPropListOptions}
19 )