mirror of
https://github.com/containers/skopeo.git
synced 2025-05-05 06:27:03 +00:00
20 lines
752 B
Go
20 lines
752 B
Go
//go:build !solaris
|
|
// +build !solaris
|
|
|
|
package zfs
|
|
|
|
import "strings"
|
|
|
|
var (
|
|
// List of ZFS properties to retrieve from zfs list command on a non-Solaris platform.
|
|
dsPropList = []string{"name", "origin", "used", "available", "mountpoint", "compression", "type", "volsize", "quota", "referenced", "written", "logicalused", "usedbydataset"}
|
|
|
|
dsPropListOptions = strings.Join(dsPropList, ",")
|
|
|
|
// List of Zpool properties to retrieve from zpool list command on a non-Solaris platform.
|
|
zpoolPropList = []string{"name", "health", "allocated", "size", "free", "readonly", "dedupratio", "fragmentation", "freeing", "leaked"}
|
|
|
|
zpoolPropListOptions = strings.Join(zpoolPropList, ",")
|
|
zpoolArgs = []string{"get", "-Hp", zpoolPropListOptions}
|
|
)
|