Debian Codegraph @

utils_solaris.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 Solaris platform
10 dsPropList = []string{"name", "origin", "used", "available", "mountpoint", "compression", "type", "volsize", "quota", "referenced"}
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"}
16
17 zpoolPropListOptions = strings.Join(zpoolPropList, ",")
18 zpoolArgs = []string{"get", "-p", zpoolPropListOptions}
19 )