/dports/sysutils/py-salt/salt-3004.1/tests/unit/utils/ |
H A D | test_zfs.py | 13 import salt.utils.zfs as zfs 75 self.assertTrue(zfs.from_bool(zfs.from_bool("on"))) 82 self.assertFalse(zfs.from_bool(zfs.from_bool("off"))) 89 self.assertEqual(zfs.from_bool(zfs.from_bool("none")), None) 134 self.assertEqual(zfs.to_bool(zfs.to_bool(True)), "on") 141 self.assertEqual(zfs.to_bool(zfs.to_bool(False)), "off") 148 self.assertEqual(zfs.to_bool(zfs.to_bool(None)), "none") 229 self.assertEqual(zfs.to_numeric(zfs.to_numeric(42)), 42) 308 self.assertEqual(zfs.to_size(zfs.to_size(None)), "none") 384 zfs.to_str(zfs.to_str("my pool/jorge's dataset")), [all …]
|
/dports/net-mgmt/librenms/librenms-21.5.1/includes/polling/applications/ |
H A D | zfs.inc.php | 19 $zfs = $e->getParsedJson(); variable 84 'deleted' => $zfs['deleted'], 88 'arc_size' => $zfs['arc_size'], 96 'mfu_size' => $zfs['mfu_size'], 97 'p' => $zfs['p'], 100 'arc_hits' => $zfs['arc_hits'], 107 'mfu_hits' => $zfs['mfu_hits'], 109 'mru_hits' => $zfs['mru_hits'], 125 'mru_per' => $zfs['mru_per'], 126 'mfu_per' => $zfs['mfu_per'], [all …]
|
/dports/sysutils/py-salt/salt-3004.1/tests/pytests/unit/states/ |
H A D | test_zfs.py | 14 import salt.states.zfs as zfs namespace 15 import salt.utils.zfs 18 from tests.support.zfs import ZFSMockData 50 zfs.__utils__, utils_patch 129 zfs.__utils__, utils_patch 207 zfs.__utils__, utils_patch 274 zfs.__utils__, utils_patch 311 zfs.__utils__, utils_patch 362 zfs.__utils__, utils_patch 382 zfs.__utils__, utils_patch [all …]
|
/dports/sysutils/py-salt/salt-3004.1/tests/unit/modules/ |
H A D | test_zfs.py | 13 import salt.modules.zfs as zfs 14 import salt.utils.zfs 20 from tests.support.zfs import ZFSMockData 54 zfs.__utils__, self.utils_patch 68 zfs.__utils__, self.utils_patch 82 zfs.__utils__, self.utils_patch 133 zfs.create( 451 zfs.list_( 815 zfs.bookmark( 884 zfs.hold( [all …]
|
/dports/sysutils/jest/jest-f76bc46/vendor/github.com/mistifyio/go-zfs/ |
H A D | zfs_test.go | 74 _, err := zfs.Datasets("") 77 ds, err := zfs.GetDataset("test") 88 snapshots, err := zfs.Snapshots("") 109 ok(t, f.Destroy(zfs.DestroyDefault)) 131 ok(t, f.Destroy(zfs.DestroyDefault)) 143 equals(t, zfs.DatasetVolume, v.Type) 144 volumes, err := zfs.Volumes("") 151 ok(t, v.Destroy(zfs.DestroyDefault)) 174 ok(t, s.Destroy(zfs.DestroyDefault)) 176 ok(t, f.Destroy(zfs.DestroyDefault)) [all …]
|
/dports/www/gitlab-pages/gitlab-pages-f8512edbec4ec83b426c8ca2dda467de424685e4/internal/vfs/zip/ |
H A D | vfs.go | 109 zfs.cacheLock.Lock() 110 defer zfs.cacheLock.Unlock() 121 zfs.resetCache() 138 func (zfs *zipVFS) resetCache() { 139 zfs.cache = cache.New(zfs.cacheExpirationInterval, zfs.cacheCleanupInterval) 175 func (zfs *zipVFS) Name() string { 187 zfs.cacheLock.Lock() 188 defer zfs.cacheLock.Unlock() 219 archive = newArchive(zfs, zfs.openTimeout) 224 zfs.cache.Delete(key) [all …]
|
/dports/sysutils/kpmcore/kpmcore-21.12.3/src/fs/ |
H A D | zfs.cpp | 21 FileSystem::CommandSupportType zfs::m_GetUsed = FileSystem::cmdSupportNone; 23 FileSystem::CommandSupportType zfs::m_Create = FileSystem::cmdSupportNone; 24 FileSystem::CommandSupportType zfs::m_Grow = FileSystem::cmdSupportNone; 26 FileSystem::CommandSupportType zfs::m_Move = FileSystem::cmdSupportNone; 28 FileSystem::CommandSupportType zfs::m_Copy = FileSystem::cmdSupportNone; 34 zfs::zfs(qint64 firstsector, qint64 lastsector, qint64 sectorsused, const QString& label, const QVa… in zfs() function in FS::zfs 39 void zfs::init() in init() 48 bool zfs::supportToolFound() const in supportToolFound() 65 FileSystem::SupportTool zfs::supportToolName() const in supportToolName() 70 qint64 zfs::minCapacity() const in minCapacity() [all …]
|
/dports/sysutils/munin-contrib/contrib-c31cb28/plugins/zfs/ |
H A D | zfs_stats_ | 37 ARC_HITS=`$SYS kstat.zfs.misc.arcstats.hits` 38 ARC_MISSES=`$SYS kstat.zfs.misc.arcstats.misses` 46 MFU_HITS=`$SYS kstat.zfs.misc.arcstats.mfu_hits` 55 DMU_HITS=`$SYS kstat.zfs.misc.zfetchstats.hits` 58 SIZE=`$SYS kstat.zfs.misc.arcstats.size` 59 MRU_SIZE=`$SYS kstat.zfs.misc.arcstats.p` 60 MAX_SIZE=`$SYS kstat.zfs.misc.arcstats.c_max` 61 MIN_SIZE=`$SYS kstat.zfs.misc.arcstats.c_min` 62 TARGET_SIZE=`$SYS kstat.zfs.misc.arcstats.c` 64 L2_SIZE=`$SYS kstat.zfs.misc.arcstats.l2_size` [all …]
|
/dports/shells/fish/fish-3.3.1/share/completions/ |
H A D | zfs.fish | 1 # Fish completions for the OpenZFS zfs command 40 if test (count $cmd) -eq 1 # The token can only be 'zfs', so skip 62 echo -e "received\tValue received by 'zfs receive'" 176 echo -e "snapdir\tHide .zfs directory (hidden, visible)" 212 zfs allow $i 218 zfs list -t bookmark -o name -H 223 zfs list -t filesystem -o name -H 227 zfs list -t volume -o name -H 275 complete -c zfs -x -n '__fish_zfs_using_command create' -s V -d 'Volume size' 286 complete -c zfs -f -n '__fish_zfs_using_command destroy' -s n -d 'Dry run' [all …]
|
/dports/sysutils/beadm-devel/beadm-2665f52786a12aadbe8984731b8a64d1249692f4/ |
H A D | beadm | 93 if zfs list ${1} 1> /dev/null 2> /dev/null 209 zfs list -H -o name -r ${SOURCE} \ 565 zfs mount ${POOL}/${BEDS}/${2} 572 if [ -f /boot/zfs/zpool.cache ] 574 cp /boot/zfs/zpool.cache ${TMPMNT}/boot/zfs/zpool.cache 586 zfs umount ${POOL}/${BEDS}/${2} 605 zfs set canmount=noauto ${NAME} 620 zfs promote ${NAME} 681 zfs promote ${NAME} 728 zfs promote ${I} [all …]
|
/dports/sysutils/jest/jest-f76bc46/ |
H A D | zfs.go | 11 list, err := zfs.ListZpools() 32 func ListAllZFSDatasets() ([]*zfs.Dataset, error) { 33 datasets := []*zfs.Dataset{} 35 list, err := zfs.ListZpools() 51 func FindZFSSnapshot(name string) (*zfs.Dataset, error) { 54 return &zfs.Dataset{}, err 61 return &zfs.Dataset{}, err 70 return &zfs.Dataset{}, fmt.Errorf("Failed to find the snapshot.") 73 func SnapshotZFSDataset(dataset zfs.Dataset) (*zfs.Dataset, error) { 80 dataset, err := zfs.CreateFilesystem(filesystem, params) [all …]
|
/dports/sysutils/iohyve/iohyve-0.7.9/lib/ |
H A D | ioh-zfs | 27 zfs set "iohyve:$prop=$sval" $pool/iohyve/$name 30 zfs set iohyve:$prop=$val $pool/iohyve/$name 108 zfs snap -r $pool/iohyve/$fullsnap 132 zfs rollback -rR $pool/iohyve/$fullsnap 157 zfs destroy -r $pool/iohyve/$flagtwo 163 y|Y) zfs destroy -r $pool/iohyve/$flagone 194 zfs snap -r $pool/iohyve/$name@$cname 196 zfs send -R $pool/iohyve/$name@$cname | \ 197 zfs recv $pool/iohyve/$cname 199 zfs destroy -rR $pool/iohyve/$name@$cname [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ |
H A D | ZipPath.java | 64 this(zfs, path, false); in ZipPath() 68 this.zfs = zfs; in ZipPath() 72 if (zfs.zc.isUTF8()) { in ZipPath() 81 this.zfs = zfs; in ZipPath() 241 if (this.zfs != o.zfs || this.isAbsolute() != o.isAbsolute()) in relativize() 279 return zfs; in getFileSystem() 515 if (zfs.zc.isUTF8()) in normalize() 628 this.zfs == ((ZipPath) obj).zfs && in equals() 913 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 915 zfs.copyFile(true, in move() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ |
H A D | ZipPath.java | 64 this(zfs, path, false); in ZipPath() 68 this.zfs = zfs; in ZipPath() 72 if (zfs.zc.isUTF8()) { in ZipPath() 81 this.zfs = zfs; in ZipPath() 241 if (this.zfs != o.zfs || this.isAbsolute() != o.isAbsolute()) in relativize() 279 return zfs; in getFileSystem() 515 if (zfs.zc.isUTF8()) in normalize() 628 this.zfs == ((ZipPath) obj).zfs && in equals() 913 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 915 zfs.copyFile(true, in move() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ |
H A D | ZipPath.java | 64 this(zfs, path, false); in ZipPath() 68 this.zfs = zfs; in ZipPath() 72 if (zfs.zc.isUTF8()) { in ZipPath() 81 this.zfs = zfs; in ZipPath() 241 if (this.zfs != o.zfs || this.isAbsolute() != o.isAbsolute()) in relativize() 279 return zfs; in getFileSystem() 515 if (zfs.zc.isUTF8()) in normalize() 628 this.zfs == ((ZipPath) obj).zfs && in equals() 913 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 915 zfs.copyFile(true, in move() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ |
H A D | ZipPath.java | 64 this(zfs, path, false); in ZipPath() 68 this.zfs = zfs; in ZipPath() 72 if (zfs.zc.isUTF8()) { in ZipPath() 81 this.zfs = zfs; in ZipPath() 241 if (this.zfs != o.zfs || this.isAbsolute() != o.isAbsolute()) in relativize() 279 return zfs; in getFileSystem() 515 if (zfs.zc.isUTF8()) in normalize() 628 this.zfs == ((ZipPath) obj).zfs && in equals() 913 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 915 zfs.copyFile(true, in move() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipPath.java | 67 this(zfs, path, false); in ZipPath() 71 this.zfs = zfs; in ZipPath() 75 if (zfs.zc.isUTF8()) { in ZipPath() 85 this.zfs = zfs; in ZipPath() 86 if (zfs.zc.isUTF8()) { in ZipPath() 287 return zfs; in getFileSystem() 614 this.zfs == ((ZipPath)obj).zfs && in equals() 857 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 859 zfs.copyFile(true, in move() 871 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in copy() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipPath.java | 67 this(zfs, path, false); in ZipPath() 71 this.zfs = zfs; in ZipPath() 75 if (zfs.zc.isUTF8()) { in ZipPath() 85 this.zfs = zfs; in ZipPath() 86 if (zfs.zc.isUTF8()) { in ZipPath() 287 return zfs; in getFileSystem() 614 this.zfs == ((ZipPath)obj).zfs && in equals() 857 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 859 zfs.copyFile(true, in move() 871 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in copy() [all …]
|
/dports/sysutils/iocell/iocell-2.1.2/lib/ |
H A D | ioc-snapshot | 37 zfs snapshot -r ${_dataset}@${_snapshot} 39 zfs snapshot -r ${_dataset}@ioc-${_date} 69 zfs snapshot ${_dataset}/root@${_snapshot} 98 zfs destroy -r ${_dataset}@${_snapshot} 102 zfs destroy -r ${_snap} 155 _fs_list=$(zfs list -rH -o name ${_dataset}) 163 zfs rollback -r ${_fs}@${_snapshot} 183 _fs_list=$(zfs list -rH -o name $_dataset) 190 zfs promote $_fs 247 _mountcheck=$(mount -t zfs | \ [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ |
H A D | ZipPath.java | 66 this(zfs, path, false); in ZipPath() 70 this.zfs = zfs; in ZipPath() 74 if (zfs.zc.isUTF8()) { in ZipPath() 83 this.zfs = zfs; in ZipPath() 243 if (this.zfs != o.zfs || this.isAbsolute() != o.isAbsolute()) in relativize() 281 return zfs; in getFileSystem() 517 if (zfs.zc.isUTF8()) in normalize() 631 this.zfs == ((ZipPath)obj).zfs && in equals() 867 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 869 zfs.copyFile(true, in move() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ |
H A D | ZipPath.java | 68 this(zfs, path, false); in ZipPath() 72 this.zfs = zfs; in ZipPath() 76 if (zfs.zc.isUTF8()) { in ZipPath() 85 this.zfs = zfs; in ZipPath() 245 if (this.zfs != o.zfs || this.isAbsolute() != o.isAbsolute()) in relativize() 283 return zfs; in getFileSystem() 519 if (zfs.zc.isUTF8()) in normalize() 632 this.zfs == ((ZipPath) obj).zfs && in equals() 886 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 888 zfs.copyFile(true, in move() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ |
H A D | ZipPath.java | 66 this(zfs, path, false); in ZipPath() 70 this.zfs = zfs; in ZipPath() 74 if (zfs.zc.isUTF8()) { in ZipPath() 83 this.zfs = zfs; in ZipPath() 243 if (this.zfs != o.zfs || this.isAbsolute() != o.isAbsolute()) in relativize() 281 return zfs; in getFileSystem() 517 if (zfs.zc.isUTF8()) in normalize() 631 this.zfs == ((ZipPath)obj).zfs && in equals() 867 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 869 zfs.copyFile(true, in move() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ |
H A D | ZipPath.java | 66 this(zfs, path, false); in ZipPath() 70 this.zfs = zfs; in ZipPath() 74 if (zfs.zc.isUTF8()) { in ZipPath() 83 this.zfs = zfs; in ZipPath() 243 if (this.zfs != o.zfs || this.isAbsolute() != o.isAbsolute()) in relativize() 281 return zfs; in getFileSystem() 517 if (zfs.zc.isUTF8()) in normalize() 631 this.zfs == ((ZipPath)obj).zfs && in equals() 867 if (Files.isSameFile(this.zfs.getZipFile(), target.zfs.getZipFile())) in move() 869 zfs.copyFile(true, in move() [all …]
|
/dports/devel/py-zsm-lib/zsm-lib-0.2.0/tests/ |
H A D | test_zfs.py | 7 import zsm_lib.zfs 35 zsm_lib.zfs.run("asdf") 48 with pytest.raises(zsm_lib.zfs.ZfsOperationFailed) as e: 49 zsm_lib.zfs.run("asdf") 77 datasets = zsm_lib.zfs.get_datasets() 90 snapshots = zsm_lib.zfs.get_snapshots( 91 dataset=zsm_lib.zfs.Dataset(name="tank/a") 101 zsm_lib.zfs.create_snapshot( 102 dataset=zsm_lib.zfs.Dataset(name="tank/a"), name="asdf" 109 zsm_lib.zfs.destroy_snapshot( [all …]
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/containerd/containerd/vendor/github.com/mistifyio/go-zfs/ |
H A D | .travis.yml | 7 - $HOME/zfs 27 - mkdir -p $HOME/zfs 28 - cd $HOME/zfs 29 …- [[ -d spl-$rel.tar.gz ]] || curl -L https://github.com/zfsonlinux/zfs/releases/download/zfs-$rel… 30 …- [[ -d zfs-$rel.tar.gz ]] || curl -L https://github.com/zfsonlinux/zfs/releases/download/zfs-$rel… 32 - (cd zfs-$rel && ./configure --prefix=/usr && make && sudo make install) 33 - sudo modprobe zfs
|