【文件属性】:
文件名称:go-zfs:ZFS命令的包装器
文件大小:19KB
文件格式:ZIP
更新时间:2021-05-15 00:48:38
Go
ZFS的包装器
ZFS命令行工具的简单包装。
要求
您需要一个有效的ZFS设置。 要在Ubuntu 14.04上使用,请设置ZFS:
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:zfs-native/stable
sudo apt-get update
sudo apt-get install ubuntu-zfs libzfs-dev
使用Go 1.3开发,但目前还没有1.3特定的东西。 不要将Ubuntu软件包用于Go,请使用
通常,您需要root特权才能使用与zfs相关的任何东西。
地位
这仅在Ubuntu 14.04上进行了测试
将来,我们希望直接与libzfs合作。
骇客
该测试对于大多数功能都有不错的示例。
//assuming a zpool named tes
【文件预览】:
go-zfs-master
----utils.go(8KB)
----error.go(368B)
----error_test.go(826B)
----Vagrantfile(875B)
----zfs.go(12KB)
----zpool.go(3KB)
----zfs_test.go(9KB)
----CONTRIBUTING.md(3KB)
----.travis.yml(1KB)
----LICENSE(11KB)
----README.md(1KB)
----utils_notsolaris.go(727B)
----.gitignore(9B)
----utils_solaris.go(641B)