├── .gitattributes
├── .gitignore
├── CMakeLists.txt
├── CODE_OF_CONDUCT.md
├── OPENSOLARIS.LICENSE
├── OpenZFSonWindows
└── OpenZFSonWindows.vcxproj.filters
├── PORTING_NOTES.txt
├── README.md
├── Testing.md
├── ZFSin.sln
├── ZFSin
├── CMakeLists.txt
├── Trace.h
├── Wpp.c
├── ZFSin.inf
├── ZFSin.vcxproj
├── ZFSin.vcxproj.filters
├── debug.c
├── driver.c
├── spl
│ ├── CMakeLists.txt
│ ├── include
│ │ ├── fs
│ │ │ └── fs_subr.h
│ │ ├── osx
│ │ │ ├── atomic.h
│ │ │ ├── condvar.h
│ │ │ └── sched.h
│ │ ├── rpc
│ │ │ ├── types.h
│ │ │ └── xdr.h
│ │ ├── sharefs
│ │ │ └── share.h
│ │ ├── slab.h
│ │ ├── spl-bmalloc.h
│ │ ├── spl-ctl.h
│ │ ├── spl-debug.h
│ │ ├── spl-device.h
│ │ ├── spl-trace.h
│ │ ├── spl
│ │ │ └── events.h
│ │ ├── strings.h
│ │ ├── sys
│ │ │ ├── acl.h
│ │ │ ├── acl_impl.h
│ │ │ ├── atomic.h
│ │ │ ├── attr.h
│ │ │ ├── avl.h
│ │ │ ├── avl_impl.h
│ │ │ ├── bitmap.h
│ │ │ ├── bootconf.h
│ │ │ ├── bootprops.h
│ │ │ ├── buf.h
│ │ │ ├── byteorder.h
│ │ │ ├── callb.h
│ │ │ ├── cmn_err.h
│ │ │ ├── compress.h
│ │ │ ├── condvar.h
│ │ │ ├── conf.h
│ │ │ ├── console.h
│ │ │ ├── cpupart.h
│ │ │ ├── cpuvar.h
│ │ │ ├── crc32.h
│ │ │ ├── cred.h
│ │ │ ├── ctype.h
│ │ │ ├── ddi.h
│ │ │ ├── debug.h
│ │ │ ├── dirent.h
│ │ │ ├── disp.h
│ │ │ ├── dkio.h
│ │ │ ├── dklabel.h
│ │ │ ├── dnlc.h
│ │ │ ├── dumphdr.h
│ │ │ ├── efi_partition.h
│ │ │ ├── errno.h
│ │ │ ├── extdirent.h
│ │ │ ├── fcntl.h
│ │ │ ├── file.h
│ │ │ ├── fs
│ │ │ │ └── swapnode.h
│ │ │ ├── idmap.h
│ │ │ ├── int_limits.h
│ │ │ ├── int_types.h
│ │ │ ├── inttypes.h
│ │ │ ├── isa_defs.h
│ │ │ ├── kidmap.h
│ │ │ ├── kmem.h
│ │ │ ├── kmem_impl.h
│ │ │ ├── kstat.h
│ │ │ ├── list.h
│ │ │ ├── md5.h
│ │ │ ├── md5_consts.h
│ │ │ ├── mkdev.h
│ │ │ ├── mntent.h
│ │ │ ├── mode.h
│ │ │ ├── mount.h
│ │ │ ├── mutex.h
│ │ │ ├── note.h
│ │ │ ├── old-taskq.h
│ │ │ ├── open.h
│ │ │ ├── param.h
│ │ │ ├── pathname.h
│ │ │ ├── policy.h
│ │ │ ├── pool.h
│ │ │ ├── priv.h
│ │ │ ├── priv_impl.h
│ │ │ ├── proc.h
│ │ │ ├── processor.h
│ │ │ ├── pset.h
│ │ │ ├── random.h
│ │ │ ├── refstr.h
│ │ │ ├── resource.h
│ │ │ ├── rwlock.h
│ │ │ ├── sdt.h
│ │ │ ├── seg_kmem.h
│ │ │ ├── sid.h
│ │ │ ├── signal.h
│ │ │ ├── stat.h
│ │ │ ├── stropts.h
│ │ │ ├── sunddi.h
│ │ │ ├── sunldi.h
│ │ │ ├── sysdc.h
│ │ │ ├── sysevent.h
│ │ │ ├── sysevent
│ │ │ │ └── eventdefs.h
│ │ │ ├── sysmacros.h
│ │ │ ├── systeminfo.h
│ │ │ ├── systm.h
│ │ │ ├── t_lock.h
│ │ │ ├── taskq.h
│ │ │ ├── taskq_impl.h
│ │ │ ├── thread.h
│ │ │ ├── time.h
│ │ │ ├── timer.h
│ │ │ ├── tsd.h
│ │ │ ├── types.h
│ │ │ ├── types32.h
│ │ │ ├── ubc.h
│ │ │ ├── uio.h
│ │ │ ├── unistd.h
│ │ │ ├── utsname.h
│ │ │ ├── va_list.h
│ │ │ ├── varargs.h
│ │ │ ├── vfs.h
│ │ │ ├── vfs_opreg.h
│ │ │ ├── vmem.h
│ │ │ ├── vmem_impl.h
│ │ │ ├── vmsystm.h
│ │ │ ├── vnode.h
│ │ │ ├── w32_types.h
│ │ │ ├── zmod.h
│ │ │ └── zone.h
│ │ ├── unistd.h
│ │ ├── util
│ │ │ ├── qsort.h
│ │ │ └── sscanf.h
│ │ └── vm
│ │ │ ├── anon.h
│ │ │ ├── pvn.h
│ │ │ └── seg_kmem.h
│ ├── module
│ │ ├── spl
│ │ │ ├── CMakeLists.txt
│ │ │ ├── KernelExports
│ │ │ │ └── kextsymboltool.c
│ │ │ ├── old-taskq.c
│ │ │ ├── spl-atomic.c
│ │ │ ├── spl-avl.c
│ │ │ ├── spl-condvar.c
│ │ │ ├── spl-cred.c
│ │ │ ├── spl-ddi.c
│ │ │ ├── spl-debug.c
│ │ │ ├── spl-err.c
│ │ │ ├── spl-events.c
│ │ │ ├── spl-kmem.c
│ │ │ ├── spl-kstat.c
│ │ │ ├── spl-list.c
│ │ │ ├── spl-md5.c
│ │ │ ├── spl-mount.c
│ │ │ ├── spl-mutex.c
│ │ │ ├── spl-policy.c
│ │ │ ├── spl-proc.c
│ │ │ ├── spl-processor.c
│ │ │ ├── spl-rwlock.c
│ │ │ ├── spl-seg_kmem.c
│ │ │ ├── spl-slab.c
│ │ │ ├── spl-taskq.c
│ │ │ ├── spl-thread.c
│ │ │ ├── spl-time.c
│ │ │ ├── spl-tsd.c
│ │ │ ├── spl-uio.c
│ │ │ ├── spl-vmem.c
│ │ │ ├── spl-vnode.c
│ │ │ ├── spl-windows.c
│ │ │ ├── spl-xdr.c
│ │ │ └── spl-zlib.c
│ │ └── zlibkern.vcxproj
│ └── spl_config.h
└── zfs
│ ├── CMakeLists.txt
│ ├── cmd
│ ├── CMakeLists.txt
│ ├── arcstat
│ │ └── arcstat.pl
│ ├── kstat
│ │ ├── CMakeLists.txt
│ │ ├── kstat.c
│ │ ├── kstat.h
│ │ ├── kstat.vcxproj
│ │ └── kstat.vcxproj.filters
│ ├── zdb
│ │ ├── CMakeLists.txt
│ │ ├── zdb.c
│ │ ├── zdb.h
│ │ ├── zdb
│ │ │ ├── zdb.vcxproj
│ │ │ └── zdb.vcxproj.filters
│ │ └── zdb_il.c
│ ├── zfs
│ │ ├── CMakeLists.txt
│ │ ├── zfs
│ │ │ ├── zfs.vcxproj
│ │ │ └── zfs.vcxproj.filters
│ │ ├── zfs_iter.c
│ │ ├── zfs_iter.h
│ │ ├── zfs_main.c
│ │ ├── zfs_osx.h
│ │ └── zfs_util.h
│ ├── zinject
│ │ ├── translate.c
│ │ ├── zinject.c
│ │ └── zinject.h
│ ├── zpool
│ │ ├── CMakeLists.txt
│ │ ├── zpool
│ │ │ ├── zpool.vcxproj
│ │ │ └── zpool.vcxproj.filters
│ │ ├── zpool_iter.c
│ │ ├── zpool_main.c
│ │ ├── zpool_util.c
│ │ ├── zpool_util.h
│ │ └── zpool_vdev.c
│ ├── zstreamdump
│ │ ├── CMakeLists.txt
│ │ ├── zstreamdump.c
│ │ └── zstreamdump
│ │ │ ├── zstreamdump.vcxproj
│ │ │ └── zstreamdump.vcxproj.filters
│ └── ztest
│ │ ├── zloop.bash
│ │ └── ztest.c
│ ├── include
│ ├── libdiskmgt.h
│ ├── libnvpair.h
│ ├── libuutil.h
│ ├── libuutil_common.h
│ ├── libuutil_impl.h
│ ├── libzfs.h
│ ├── libzfs_core.h
│ ├── libzfs_impl.h
│ ├── linux
│ │ ├── blkdev_compat.h
│ │ ├── dcache_compat.h
│ │ ├── kmap_compat.h
│ │ ├── utsname_compat.h
│ │ ├── vfs_compat.h
│ │ └── xattr_compat.h
│ ├── sys
│ │ ├── ZFSPool.h
│ │ ├── abd.h
│ │ ├── aggsum.h
│ │ ├── arc.h
│ │ ├── arc_impl.h
│ │ ├── avl.h
│ │ ├── avl_impl.h
│ │ ├── blkptr.h
│ │ ├── bplist.h
│ │ ├── bpobj.h
│ │ ├── bptree.h
│ │ ├── bqueue.h
│ │ ├── cityhash.h
│ │ ├── crypto
│ │ │ ├── api.h
│ │ │ ├── common.h
│ │ │ └── icp.h
│ │ ├── dbuf.h
│ │ ├── ddt.h
│ │ ├── dmu.h
│ │ ├── dmu_impl.h
│ │ ├── dmu_objset.h
│ │ ├── dmu_recv.h
│ │ ├── dmu_send.h
│ │ ├── dmu_traverse.h
│ │ ├── dmu_tx.h
│ │ ├── dmu_zfetch.h
│ │ ├── dnode.h
│ │ ├── dsl_bookmark.h
│ │ ├── dsl_crypt.h
│ │ ├── dsl_dataset.h
│ │ ├── dsl_deadlist.h
│ │ ├── dsl_deleg.h
│ │ ├── dsl_destroy.h
│ │ ├── dsl_dir.h
│ │ ├── dsl_pool.h
│ │ ├── dsl_prop.h
│ │ ├── dsl_scan.h
│ │ ├── dsl_synctask.h
│ │ ├── dsl_userhold.h
│ │ ├── edonr.h
│ │ ├── efi_partition.h
│ │ ├── finderinfo.h
│ │ ├── fm
│ │ │ ├── fs
│ │ │ │ └── zfs.h
│ │ │ ├── protocol.h
│ │ │ └── util.h
│ │ ├── fs
│ │ │ └── zfs.h
│ │ ├── gfs.h
│ │ ├── hfs_internal.h
│ │ ├── hkdf.h
│ │ ├── kstat_windows.h
│ │ ├── lua
│ │ │ ├── Makefile.am
│ │ │ ├── lauxlib.h
│ │ │ ├── lua.h
│ │ │ ├── luaconf.h
│ │ │ └── lualib.h
│ │ ├── metaslab.h
│ │ ├── metaslab_impl.h
│ │ ├── mmp.h
│ │ ├── multilist.h
│ │ ├── nvpair.h
│ │ ├── nvpair_impl.h
│ │ ├── range_tree.h
│ │ ├── refcount.h
│ │ ├── rrwlock.h
│ │ ├── sa.h
│ │ ├── sa_impl.h
│ │ ├── sha2.h
│ │ ├── skein.h
│ │ ├── spa.h
│ │ ├── spa_boot.h
│ │ ├── spa_checkpoint.h
│ │ ├── spa_checksum.h
│ │ ├── spa_impl.h
│ │ ├── space_map.h
│ │ ├── space_reftree.h
│ │ ├── sysevent.h
│ │ ├── sysevent
│ │ │ └── eventdefs.h
│ │ ├── trace.h
│ │ ├── trace_acl.h
│ │ ├── trace_arc.h
│ │ ├── trace_dbgmsg.h
│ │ ├── trace_dbuf.h
│ │ ├── trace_dmu.h
│ │ ├── trace_dnode.h
│ │ ├── trace_multilist.h
│ │ ├── trace_txg.h
│ │ ├── trace_zil.h
│ │ ├── trace_zrlock.h
│ │ ├── txg.h
│ │ ├── txg_impl.h
│ │ ├── u8_textprep.h
│ │ ├── u8_textprep_data.h
│ │ ├── uberblock.h
│ │ ├── uberblock_impl.h
│ │ ├── uio_impl.h
│ │ ├── unique.h
│ │ ├── uuid.h
│ │ ├── vdev.h
│ │ ├── vdev_disk.h
│ │ ├── vdev_file.h
│ │ ├── vdev_impl.h
│ │ ├── vdev_indirect_births.h
│ │ ├── vdev_indirect_mapping.h
│ │ ├── vdev_initialize.h
│ │ ├── vdev_removal.h
│ │ ├── vdev_trim.h
│ │ ├── wzvol.h
│ │ ├── wzvolwmi.h
│ │ ├── xvattr.h
│ │ ├── zap.h
│ │ ├── zap_impl.h
│ │ ├── zap_leaf.h
│ │ ├── zconf.h
│ │ ├── zcp.h
│ │ ├── zcp_global.h
│ │ ├── zcp_iter.h
│ │ ├── zcp_prop.h
│ │ ├── zfeature.h
│ │ ├── zfs_acl.h
│ │ ├── zfs_boot.h
│ │ ├── zfs_context.h
│ │ ├── zfs_context_kernel.h
│ │ ├── zfs_context_userland.h
│ │ ├── zfs_ctldir.h
│ │ ├── zfs_debug.h
│ │ ├── zfs_delay.h
│ │ ├── zfs_dir.h
│ │ ├── zfs_file.h
│ │ ├── zfs_fuid.h
│ │ ├── zfs_ioctl.h
│ │ ├── zfs_mount.h
│ │ ├── zfs_onexit.h
│ │ ├── zfs_rlock.h
│ │ ├── zfs_sa.h
│ │ ├── zfs_stat.h
│ │ ├── zfs_vfsops.h
│ │ ├── zfs_vnops.h
│ │ ├── zfs_windows.h
│ │ ├── zfs_znode.h
│ │ ├── zil.h
│ │ ├── zil_impl.h
│ │ ├── zio.h
│ │ ├── zio_checksum.h
│ │ ├── zio_compress.h
│ │ ├── zio_crypt.h
│ │ ├── zio_impl.h
│ │ ├── zio_priority.h
│ │ ├── zlib.h
│ │ ├── zpl.h
│ │ ├── zrlock.h
│ │ ├── zthr.h
│ │ ├── zvol.h
│ │ └── zvolIO.h
│ ├── zfeature_common.h
│ ├── zfs_comutil.h
│ ├── zfs_deleg.h
│ ├── zfs_fletcher.h
│ ├── zfs_namecheck.h
│ ├── zfs_prop.h
│ ├── zpios-ctl.h
│ └── zpios-internal.h
│ ├── lib
│ ├── CMakeLists.txt
│ ├── libavl
│ │ ├── CMakeLists.txt
│ │ └── libavl
│ │ │ ├── libavl.vcxproj
│ │ │ └── libavl.vcxproj.filters
│ ├── libefi
│ │ ├── CMakeLists.txt
│ │ ├── libefi
│ │ │ ├── libefi.vcxproj
│ │ │ └── libefi.vcxproj.filters
│ │ └── rdwr_efi.c
│ ├── libicp
│ │ ├── CMakeLists.txt
│ │ └── libicp
│ │ │ ├── libicp.vcxproj
│ │ │ └── libicp.vcxproj.filters
│ ├── libkstat
│ │ ├── CMakeLists.txt
│ │ ├── gmatch.c
│ │ ├── kstat.c
│ │ ├── kstat.h
│ │ ├── libkstat.vcxproj
│ │ └── libkstat.vcxproj.filters
│ ├── libnvpair
│ │ ├── CMakeLists.txt
│ │ ├── libnvpair.c
│ │ ├── libnvpair
│ │ │ ├── libnvpair.vcxproj
│ │ │ └── libnvpair.vcxproj.filters
│ │ ├── libnvpair_json.c
│ │ └── nvpair_alloc_system.c
│ ├── libpthread
│ │ ├── CMakeLists.txt
│ │ └── pthread.h
│ ├── libshare
│ │ ├── CMakeLists.txt
│ │ ├── afp.c
│ │ ├── afp.h
│ │ ├── libshare.c
│ │ ├── libshare
│ │ │ ├── libshare.vcxproj
│ │ │ └── libshare.vcxproj.filters
│ │ ├── libshare_impl.h
│ │ ├── nfs.c
│ │ ├── nfs.h
│ │ ├── smb.c
│ │ └── smb.h
│ ├── libspl
│ │ ├── CMakeLists.txt
│ │ ├── asm-generic
│ │ │ └── atomic.c
│ │ ├── crc32.c
│ │ ├── crypto
│ │ │ ├── edonr
│ │ │ │ ├── edonr.c
│ │ │ │ └── edonr_byteorder.h
│ │ │ ├── sha2
│ │ │ │ └── sha2.c
│ │ │ └── skein
│ │ │ │ ├── skein.c
│ │ │ │ ├── skein_block.c
│ │ │ │ ├── skein_impl.h
│ │ │ │ ├── skein_iv.c
│ │ │ │ └── skein_port.h
│ │ ├── fdatasync.c
│ │ ├── gethrestime.c
│ │ ├── gethrtime.c
│ │ ├── getmntany.c
│ │ ├── getopt.c
│ │ ├── getoptl.c
│ │ ├── include
│ │ │ ├── alloca.h
│ │ │ ├── assert.h
│ │ │ ├── atomic.h
│ │ │ ├── attr.h
│ │ │ ├── devid.h
│ │ │ ├── dirent.h
│ │ │ ├── dlfcn.h
│ │ │ ├── getopt.h
│ │ │ ├── grp.h
│ │ │ ├── ia32
│ │ │ │ └── sys
│ │ │ │ │ └── asm_linkage.h
│ │ │ ├── libdevinfo.h
│ │ │ ├── libgen.h
│ │ │ ├── libintl.h
│ │ │ ├── libshare.h
│ │ │ ├── mntent.h
│ │ │ ├── note.h
│ │ │ ├── poll.h
│ │ │ ├── priv.h
│ │ │ ├── pwd.h
│ │ │ ├── regex.h
│ │ │ ├── rpc
│ │ │ │ ├── types.h
│ │ │ │ └── xdr.h
│ │ │ ├── sha2.h
│ │ │ ├── statcommon.h
│ │ │ ├── strings.h
│ │ │ ├── stropts.h
│ │ │ ├── synch.h
│ │ │ ├── sys
│ │ │ │ ├── acl.h
│ │ │ │ ├── acl_impl.h
│ │ │ │ ├── bitmap.h
│ │ │ │ ├── byteorder.h
│ │ │ │ ├── callb.h
│ │ │ │ ├── cmn_err.h
│ │ │ │ ├── compress.h
│ │ │ │ ├── conf.h
│ │ │ │ ├── cred.h
│ │ │ │ ├── debug.h
│ │ │ │ ├── dkio.h
│ │ │ │ ├── dklabel.h
│ │ │ │ ├── dktp
│ │ │ │ │ └── fdisk.h
│ │ │ │ ├── edonr.h
│ │ │ │ ├── errno.h
│ │ │ │ ├── feature_tests.h
│ │ │ │ ├── file.h
│ │ │ │ ├── frame.h
│ │ │ │ ├── int_limits.h
│ │ │ │ ├── int_types.h
│ │ │ │ ├── inttypes.h
│ │ │ │ ├── isa_defs.h
│ │ │ │ ├── kernel_types.h
│ │ │ │ ├── kmem.h
│ │ │ │ ├── kstat.h
│ │ │ │ ├── list.h
│ │ │ │ ├── list_impl.h
│ │ │ │ ├── malloc.c
│ │ │ │ ├── malloc.h
│ │ │ │ ├── mhd.h
│ │ │ │ ├── mkdev.h
│ │ │ │ ├── mman.h
│ │ │ │ ├── mntent.h
│ │ │ │ ├── mnttab.h
│ │ │ │ ├── mount.h
│ │ │ │ ├── note.h
│ │ │ │ ├── param.h
│ │ │ │ ├── pathname.h
│ │ │ │ ├── policy.h
│ │ │ │ ├── priv.h
│ │ │ │ ├── proc.h
│ │ │ │ ├── processor.h
│ │ │ │ ├── resource.h
│ │ │ │ ├── sdt.h
│ │ │ │ ├── sha2_consts.h
│ │ │ │ ├── signal.h
│ │ │ │ ├── skein.h
│ │ │ │ ├── socket.h
│ │ │ │ ├── stack.h
│ │ │ │ ├── statvfs.h
│ │ │ │ ├── stropts.h
│ │ │ │ ├── sunddi.h
│ │ │ │ ├── sysevent.h
│ │ │ │ ├── sysevent
│ │ │ │ │ └── eventdefs.h
│ │ │ │ ├── sysmacros.h
│ │ │ │ ├── systeminfo.h
│ │ │ │ ├── systm.h
│ │ │ │ ├── time.h
│ │ │ │ ├── timer.h
│ │ │ │ ├── types32.h
│ │ │ │ ├── tzfile.h
│ │ │ │ ├── uio.h
│ │ │ │ ├── utsname.h
│ │ │ │ ├── va_list.h
│ │ │ │ ├── varargs.h
│ │ │ │ ├── vfs.h
│ │ │ │ ├── vnode.h
│ │ │ │ ├── vtoc.h
│ │ │ │ ├── w32_stat.h
│ │ │ │ ├── w32_types.h
│ │ │ │ ├── wait.h
│ │ │ │ ├── xattr.h
│ │ │ │ └── zone.h
│ │ │ ├── syslog.h
│ │ │ ├── termios.h
│ │ │ ├── thread.h
│ │ │ ├── tzfile.h
│ │ │ ├── ucred.h
│ │ │ ├── umem.h
│ │ │ ├── unistd.h
│ │ │ ├── util
│ │ │ │ └── sscanf.h
│ │ │ ├── uuid
│ │ │ │ └── uuid.h
│ │ │ ├── w32_limits.h
│ │ │ ├── wosix.h
│ │ │ └── zone.h
│ │ ├── libspl
│ │ │ ├── libspl.vcxproj
│ │ │ └── libspl.vcxproj.filters
│ │ ├── list.c
│ │ ├── mkdirp.c
│ │ ├── posix.c
│ │ ├── timestamp.c
│ │ ├── uio.c
│ │ ├── xdr.c
│ │ ├── xdr_array.c
│ │ ├── xdr_float.c
│ │ ├── xdr_mem.c
│ │ ├── zmount.c
│ │ └── zone.c
│ ├── libunicode
│ │ ├── CMakeLists.txt
│ │ └── libunicode
│ │ │ ├── libunicode.vcxproj
│ │ │ └── libunicode.vcxproj.filters
│ ├── libuuid
│ │ ├── CMakeLists.txt
│ │ ├── COPYING
│ │ ├── all-io.h
│ │ ├── c.h
│ │ ├── clear.c
│ │ ├── compare.c
│ │ ├── copy.c
│ │ ├── gen_uuid.c
│ │ ├── isnull.c
│ │ ├── libuuid
│ │ │ ├── libuuid.vcxproj
│ │ │ └── libuuid.vcxproj.filters
│ │ ├── missing
│ │ ├── pack.c
│ │ ├── parse.c
│ │ ├── randutils.c
│ │ ├── randutils.h
│ │ ├── test_uuid.c
│ │ ├── unpack.c
│ │ ├── unparse.c
│ │ ├── uuid.h
│ │ ├── uuidP.h
│ │ ├── uuid_time.c
│ │ └── uuidd.h
│ ├── libuutil
│ │ ├── CMakeLists.txt
│ │ ├── libuutil
│ │ │ ├── libuutil.vcxproj
│ │ │ └── libuutil.vcxproj.filters
│ │ ├── uu_alloc.c
│ │ ├── uu_avl.c
│ │ ├── uu_dprintf.c
│ │ ├── uu_ident.c
│ │ ├── uu_list.c
│ │ ├── uu_misc.c
│ │ ├── uu_open.c
│ │ ├── uu_pname.c
│ │ ├── uu_string.c
│ │ └── uu_strtoint.c
│ ├── libzfs
│ │ ├── CMakeLists.txt
│ │ ├── libzfs
│ │ │ ├── libzfs.vcxproj
│ │ │ └── libzfs.vcxproj.filters
│ │ ├── libzfs_changelist.c
│ │ ├── libzfs_config.c
│ │ ├── libzfs_crypto.c
│ │ ├── libzfs_dataset.c
│ │ ├── libzfs_diff.c
│ │ ├── libzfs_fru.c
│ │ ├── libzfs_graph.c
│ │ ├── libzfs_import.c
│ │ ├── libzfs_iter.c
│ │ ├── libzfs_mount.c
│ │ ├── libzfs_pool.c
│ │ ├── libzfs_sendrecv.c
│ │ ├── libzfs_status.c
│ │ └── libzfs_util.c
│ ├── libzfs_core
│ │ ├── CMakeLists.txt
│ │ ├── libzfs_core.c
│ │ └── libzfs_core
│ │ │ ├── libzfs_core.vcxproj
│ │ │ └── libzfs_core.vcxproj.filters
│ ├── libzpool
│ │ ├── CMakeLists.txt
│ │ ├── kernel.c
│ │ ├── libzpool
│ │ │ ├── libzpool.vcxproj
│ │ │ └── libzpool.vcxproj.filters
│ │ ├── taskq.c
│ │ └── util.c
│ └── zlib-1.2.3
│ │ ├── CMakeLists.txt
│ │ ├── ChangeLog
│ │ ├── FAQ
│ │ ├── INDEX
│ │ ├── README
│ │ ├── adler32.c
│ │ ├── algorithm.txt
│ │ ├── compress.c
│ │ ├── contrib
│ │ ├── masmx64
│ │ │ └── inffas8664.c
│ │ ├── masmx86
│ │ │ └── gvmat32c.c
│ │ ├── minizip
│ │ │ ├── crypt.h
│ │ │ ├── ioapi.c
│ │ │ ├── ioapi.h
│ │ │ ├── unzip.c
│ │ │ ├── unzip.h
│ │ │ ├── zip.c
│ │ │ └── zip.h
│ │ └── vstudio
│ │ │ └── vc8
│ │ │ ├── zlib.rc
│ │ │ ├── zlibstat.vcproj
│ │ │ ├── zlibstat.vcxproj
│ │ │ └── zlibstat.vcxproj.filters
│ │ ├── crc32.c
│ │ ├── crc32.h
│ │ ├── deflate.c
│ │ ├── deflate.h
│ │ ├── example-res.rc
│ │ ├── example-static-res.rc
│ │ ├── example.c
│ │ ├── gzio.c
│ │ ├── infback.c
│ │ ├── inffast.c
│ │ ├── inffast.h
│ │ ├── inffixed.h
│ │ ├── inflate.c
│ │ ├── inflate.h
│ │ ├── inftrees.c
│ │ ├── inftrees.h
│ │ ├── minigzip-res.rc
│ │ ├── minigzip-static-res.rc
│ │ ├── minigzip.c
│ │ ├── trees.c
│ │ ├── trees.h
│ │ ├── uncompr.c
│ │ ├── zconf.h
│ │ ├── zconf.in.h
│ │ ├── zlib-dll-res.rc
│ │ ├── zlib-dllversion.c
│ │ ├── zlib.3
│ │ ├── zlib.h
│ │ ├── zutil.c
│ │ └── zutil.h
│ ├── man
│ ├── man1
│ │ ├── cstyle.1
│ │ ├── zhack.1
│ │ ├── zpios.1
│ │ └── ztest.1
│ ├── man5
│ │ ├── vdev_id.conf.5
│ │ ├── zfs-events.5
│ │ ├── zfs-module-parameters.5
│ │ └── zpool-features.5
│ └── man8
│ │ ├── fsck.zfs.8
│ │ ├── mount.zfs.8
│ │ ├── vdev_id.8
│ │ ├── zdb.8
│ │ ├── zfs-program.8
│ │ ├── zfs.8
│ │ ├── zinject.8
│ │ ├── zpool.8
│ │ └── zstreamdump.8
│ ├── module
│ ├── CMakeLists.txt
│ ├── avl
│ │ └── avl.c
│ ├── icp
│ │ ├── CMakeLists.txt
│ │ ├── algs
│ │ │ ├── aes
│ │ │ │ ├── aes_impl.c
│ │ │ │ └── aes_modes.c
│ │ │ ├── edonr
│ │ │ │ ├── edonr.c
│ │ │ │ └── edonr_byteorder.h
│ │ │ ├── modes
│ │ │ │ ├── cbc.c
│ │ │ │ ├── ccm.c
│ │ │ │ ├── ctr.c
│ │ │ │ ├── ecb.c
│ │ │ │ ├── gcm.c
│ │ │ │ └── modes.c
│ │ │ ├── sha1
│ │ │ │ └── sha1.c
│ │ │ ├── sha2
│ │ │ │ └── sha2.c
│ │ │ └── skein
│ │ │ │ ├── skein.c
│ │ │ │ ├── skein_block.c
│ │ │ │ ├── skein_impl.h
│ │ │ │ ├── skein_iv.c
│ │ │ │ └── skein_port.h
│ │ ├── api
│ │ │ ├── kcf_cipher.c
│ │ │ ├── kcf_ctxops.c
│ │ │ ├── kcf_digest.c
│ │ │ ├── kcf_mac.c
│ │ │ └── kcf_miscapi.c
│ │ ├── asm-x86_64
│ │ │ └── aes
│ │ │ │ ├── aeskey.c
│ │ │ │ ├── aesopt.h
│ │ │ │ ├── aestab.h
│ │ │ │ └── aestab2.h
│ │ ├── core
│ │ │ ├── kcf_callprov.c
│ │ │ ├── kcf_mech_tabs.c
│ │ │ ├── kcf_prov_lib.c
│ │ │ ├── kcf_prov_tabs.c
│ │ │ └── kcf_sched.c
│ │ ├── illumos-crypto.c
│ │ ├── include
│ │ │ ├── aes
│ │ │ │ └── aes_impl.h
│ │ │ ├── modes
│ │ │ │ └── modes.h
│ │ │ ├── sha1
│ │ │ │ ├── sha1.h
│ │ │ │ ├── sha1_consts.h
│ │ │ │ └── sha1_impl.h
│ │ │ ├── sha2
│ │ │ │ ├── sha2_consts.h
│ │ │ │ └── sha2_impl.h
│ │ │ └── sys
│ │ │ │ ├── asm_linkage.h
│ │ │ │ ├── bitmap.h
│ │ │ │ ├── crypto
│ │ │ │ ├── dca.h
│ │ │ │ ├── elfsign.h
│ │ │ │ ├── impl.h
│ │ │ │ ├── ioctl.h
│ │ │ │ ├── ioctladmin.h
│ │ │ │ ├── ops_impl.h
│ │ │ │ ├── sched_impl.h
│ │ │ │ └── spi.h
│ │ │ │ ├── ia32
│ │ │ │ ├── asm_linkage.h
│ │ │ │ ├── stack.h
│ │ │ │ └── trap.h
│ │ │ │ ├── modctl.h
│ │ │ │ ├── modhash.h
│ │ │ │ ├── modhash_impl.h
│ │ │ │ ├── stack.h
│ │ │ │ └── trap.h
│ │ ├── io
│ │ │ ├── aes.c
│ │ │ ├── edonr_mod.c
│ │ │ ├── sha1_mod.c
│ │ │ ├── sha2_mod.c
│ │ │ └── skein_mod.c
│ │ ├── os
│ │ │ ├── bitmap_arch.c
│ │ │ ├── modconf.c
│ │ │ └── modhash.c
│ │ └── spi
│ │ │ └── kcf_spi.c
│ ├── lua
│ │ ├── CMakeLists.txt
│ │ ├── Makefile.in
│ │ ├── README.zfs
│ │ ├── lapi.c
│ │ ├── lapi.h
│ │ ├── lauxlib.c
│ │ ├── lbaselib.c
│ │ ├── lbitlib.c
│ │ ├── lcode.c
│ │ ├── lcode.h
│ │ ├── lcompat.c
│ │ ├── lcorolib.c
│ │ ├── lctype.c
│ │ ├── lctype.h
│ │ ├── ldebug.c
│ │ ├── ldebug.h
│ │ ├── ldo.c
│ │ ├── ldo.h
│ │ ├── ldump.c
│ │ ├── lfunc.c
│ │ ├── lfunc.h
│ │ ├── lgc.c
│ │ ├── lgc.h
│ │ ├── llex.c
│ │ ├── llex.h
│ │ ├── llimits.h
│ │ ├── lmem.c
│ │ ├── lmem.h
│ │ ├── lobject.c
│ │ ├── lobject.h
│ │ ├── lopcodes.c
│ │ ├── lopcodes.h
│ │ ├── lparser.c
│ │ ├── lparser.h
│ │ ├── lstate.c
│ │ ├── lstate.h
│ │ ├── lstring.c
│ │ ├── lstring.h
│ │ ├── lstrlib.c
│ │ ├── ltable.c
│ │ ├── ltable.h
│ │ ├── ltablib.c
│ │ ├── ltm.c
│ │ ├── ltm.h
│ │ ├── lundump.c
│ │ ├── lundump.h
│ │ ├── lvm.c
│ │ ├── lvm.h
│ │ ├── lzio.c
│ │ ├── lzio.h
│ │ └── setjmp
│ │ │ ├── setjmp_aarch64.S
│ │ │ ├── setjmp_arm.S
│ │ │ ├── setjmp_i386.S
│ │ │ ├── setjmp_mips.S
│ │ │ ├── setjmp_ppc.S
│ │ │ ├── setjmp_s390x.S
│ │ │ ├── setjmp_sparc64.S
│ │ │ └── setjmp_x86_64.S
│ ├── nvpair
│ │ ├── CMakeLists.txt
│ │ ├── fnvpair.c
│ │ ├── nvpair.c
│ │ ├── nvpair_alloc_fixed.c
│ │ └── nvpair_alloc_spl.c
│ ├── unicode
│ │ ├── CMakeLists.txt
│ │ ├── u8_textprep.c
│ │ └── uconv.c
│ ├── zcommon
│ │ ├── CMakeLists.txt
│ │ ├── zfs_comutil.c
│ │ ├── zfs_deleg.c
│ │ ├── zfs_fletcher.c
│ │ ├── zfs_namecheck.c
│ │ ├── zfs_prop.c
│ │ ├── zfs_uio.c
│ │ ├── zpool_prop.c
│ │ └── zprop_common.c
│ ├── zfs
│ │ ├── CMakeLists.txt
│ │ ├── abd.c
│ │ ├── aggsum.c
│ │ ├── arc.c
│ │ ├── blkptr.c
│ │ ├── bplist.c
│ │ ├── bpobj.c
│ │ ├── bptree.c
│ │ ├── bqueue.c
│ │ ├── cityhash.c
│ │ ├── dbuf.c
│ │ ├── dbuf_stats.c
│ │ ├── ddt.c
│ │ ├── ddt_zap.c
│ │ ├── dmu.c
│ │ ├── dmu_diff.c
│ │ ├── dmu_object.c
│ │ ├── dmu_objset.c
│ │ ├── dmu_recv.c
│ │ ├── dmu_send.c
│ │ ├── dmu_traverse.c
│ │ ├── dmu_tx.c
│ │ ├── dmu_zfetch.c
│ │ ├── dnode.c
│ │ ├── dnode_sync.c
│ │ ├── dsl_bookmark.c
│ │ ├── dsl_crypt.c
│ │ ├── dsl_dataset.c
│ │ ├── dsl_deadlist.c
│ │ ├── dsl_deleg.c
│ │ ├── dsl_destroy.c
│ │ ├── dsl_dir.c
│ │ ├── dsl_pool.c
│ │ ├── dsl_proc.c
│ │ ├── dsl_prop.c
│ │ ├── dsl_scan.c
│ │ ├── dsl_synctask.c
│ │ ├── dsl_userhold.c
│ │ ├── edonr.c
│ │ ├── edonr_zfs.c
│ │ ├── fm.c
│ │ ├── gfs.c
│ │ ├── gzip.c
│ │ ├── hkdf.c
│ │ ├── lz4.c
│ │ ├── lzjb.c
│ │ ├── metaslab.c
│ │ ├── mmp.c
│ │ ├── multilist.c
│ │ ├── range_tree.c
│ │ ├── refcount.c
│ │ ├── rrwlock.c
│ │ ├── sa.c
│ │ ├── sha256.c
│ │ ├── skein_zfs.c
│ │ ├── spa.c
│ │ ├── spa_boot.c
│ │ ├── spa_checkpoint.c
│ │ ├── spa_config.c
│ │ ├── spa_errlog.c
│ │ ├── spa_history.c
│ │ ├── spa_misc.c
│ │ ├── spa_stats.c
│ │ ├── space_map.c
│ │ ├── space_reftree.c
│ │ ├── trace.c
│ │ ├── txg.c
│ │ ├── uberblock.c
│ │ ├── unique.c
│ │ ├── vdev.c
│ │ ├── vdev_cache.c
│ │ ├── vdev_disk.c
│ │ ├── vdev_file.c
│ │ ├── vdev_indirect.c
│ │ ├── vdev_indirect_births.c
│ │ ├── vdev_indirect_mapping.c
│ │ ├── vdev_initialize.c
│ │ ├── vdev_label.c
│ │ ├── vdev_mirror.c
│ │ ├── vdev_missing.c
│ │ ├── vdev_queue.c
│ │ ├── vdev_raidz.c
│ │ ├── vdev_removal.c
│ │ ├── vdev_root.c
│ │ ├── vdev_trim.c
│ │ ├── zap.c
│ │ ├── zap_leaf.c
│ │ ├── zap_micro.c
│ │ ├── zcp.c
│ │ ├── zcp_get.c
│ │ ├── zcp_global.c
│ │ ├── zcp_iter.c
│ │ ├── zcp_synctask.c
│ │ ├── zfeature.c
│ │ ├── zfeature_common.c
│ │ ├── zfs_acl.c
│ │ ├── zfs_byteswap.c
│ │ ├── zfs_ctldir.c
│ │ ├── zfs_debug.c
│ │ ├── zfs_dir.c
│ │ ├── zfs_file.c
│ │ ├── zfs_fm.c
│ │ ├── zfs_fuid.c
│ │ ├── zfs_ioctl.c
│ │ ├── zfs_kstat_windows.c
│ │ ├── zfs_log.c
│ │ ├── zfs_onexit.c
│ │ ├── zfs_replay.c
│ │ ├── zfs_rlock.c
│ │ ├── zfs_sa.c
│ │ ├── zfs_vfsops.c
│ │ ├── zfs_vnops.c
│ │ ├── zfs_vnops_windows.c
│ │ ├── zfs_vnops_windows_lib.c
│ │ ├── zfs_vnops_windows_mount.c
│ │ ├── zfs_windows.c
│ │ ├── zfs_windows_zvol.c
│ │ ├── zfs_windows_zvol_scsi.c
│ │ ├── zfs_windows_zvol_wmi.c
│ │ ├── zfs_znode.c
│ │ ├── zil.c
│ │ ├── zio.c
│ │ ├── zio_checksum.c
│ │ ├── zio_compress.c
│ │ ├── zio_crypt.c
│ │ ├── zio_inject.c
│ │ ├── zle.c
│ │ ├── zpl_ctldir.c
│ │ ├── zpl_export.c
│ │ ├── zpl_file.c
│ │ ├── zpl_inode.c
│ │ ├── zpl_super.c
│ │ ├── zpl_xattr.c
│ │ ├── zrlock.c
│ │ ├── zthr.c
│ │ └── zvol.c
│ └── zpios
│ │ └── pios.c
│ ├── resources
│ ├── openzfs.ico
│ └── resources.rc
│ ├── tests
│ ├── Makefile.am
│ ├── Makefile.com
│ ├── README
│ ├── autogen.sh
│ ├── config
│ │ ├── Rules.am
│ │ ├── commands-bsd.m4
│ │ ├── commands-common.m4
│ │ ├── commands-linux.m4
│ │ ├── config.guess
│ │ ├── config.sub
│ │ ├── depcomp
│ │ ├── install-sh
│ │ └── system.m4
│ ├── configure.ac
│ ├── scripts
│ │ ├── missing_cmd
│ │ ├── mkfile
│ │ └── test-fails
│ ├── test-runner
│ │ ├── bin
│ │ │ └── run
│ │ ├── cmd
│ │ │ └── run.py
│ │ ├── man
│ │ │ └── run.1
│ │ └── stf
│ │ │ ├── README
│ │ │ ├── contrib
│ │ │ └── include
│ │ │ │ └── logapi.shlib
│ │ │ └── include
│ │ │ └── stf.shlib
│ └── zfs-tests
│ │ ├── bin
│ │ ├── chg_usr_exec
│ │ ├── file_check
│ │ ├── file_trunc
│ │ ├── file_write
│ │ ├── largest_file
│ │ ├── mkbusy
│ │ ├── mktree
│ │ ├── mmapwrite
│ │ ├── randfree_file
│ │ ├── readmmap
│ │ └── xattrtest
│ │ ├── callbacks
│ │ └── zfs_mmp.ksh
│ │ ├── cmd
│ │ ├── .gitignore
│ │ ├── Makefile.subdirs
│ │ ├── chg_usr_exec
│ │ │ ├── Makefile.am
│ │ │ └── chg_usr_exec.c
│ │ ├── devname2devid
│ │ │ └── devname2devid.c
│ │ ├── dir_rd_update
│ │ │ └── dir_rd_update.c
│ │ ├── file_check
│ │ │ ├── Makefile.am
│ │ │ └── file_check.c
│ │ ├── file_common.h
│ │ ├── file_trunc
│ │ │ ├── Makefile.am
│ │ │ └── file_trunc.c
│ │ ├── file_write
│ │ │ ├── Makefile.am
│ │ │ └── file_write.c
│ │ ├── largest_file
│ │ │ ├── Makefile.am
│ │ │ └── largest_file.c
│ │ ├── libzfs_input_check
│ │ │ ├── .gitignore
│ │ │ ├── Makefile.am
│ │ │ └── libzfs_input_check.c
│ │ ├── mkbusy
│ │ │ ├── Makefile.am
│ │ │ └── mkbusy.c
│ │ ├── mktree
│ │ │ ├── Makefile.am
│ │ │ └── mktree.c
│ │ ├── mmapwrite
│ │ │ ├── Makefile.am
│ │ │ └── mmapwrite.c
│ │ ├── nvlist_to_lua
│ │ │ ├── .gitignore
│ │ │ ├── Makefile.am
│ │ │ └── nvlist_to_lua.c
│ │ ├── randfree_file
│ │ │ ├── Makefile.am
│ │ │ └── randfree_file.c
│ │ ├── randwritecomp
│ │ │ ├── Makefile
│ │ │ ├── Makefile.am
│ │ │ └── randwritecomp.c
│ │ ├── readmmap
│ │ │ ├── Makefile.am
│ │ │ └── readmmap.c
│ │ ├── rename_dir
│ │ │ └── rename_dir.c
│ │ ├── rm_lnkcnt_zero_file
│ │ │ ├── Makefile.am
│ │ │ └── rm_lnkcnt_zero_file.c
│ │ ├── scripts
│ │ │ └── zfstest.ksh
│ │ └── xattrtest
│ │ │ ├── Makefile.am
│ │ │ └── xattrtest.c
│ │ ├── doc
│ │ └── README
│ │ ├── include
│ │ ├── blkdev.shlib
│ │ ├── commands.cfg.in
│ │ ├── default.cfg.in
│ │ ├── libtest.shlib
│ │ ├── math.shlib
│ │ └── properties.shlib
│ │ ├── runfiles
│ │ ├── delphix.run
│ │ ├── linux.run
│ │ ├── linux.run.in
│ │ ├── longevity.run
│ │ ├── omnios.run
│ │ ├── openindiana.run
│ │ ├── osx.run.in
│ │ └── stress.run
│ │ └── tests
│ │ ├── functional
│ │ ├── .gitignore
│ │ ├── acl
│ │ │ ├── acl.cfg
│ │ │ ├── acl_common.kshlib
│ │ │ ├── cifs
│ │ │ │ ├── cifs.kshlib
│ │ │ │ ├── cifs_attr_001_pos.ksh
│ │ │ │ ├── cifs_attr_002_pos.ksh
│ │ │ │ ├── cifs_attr_003_pos.ksh
│ │ │ │ ├── cleanup.ksh
│ │ │ │ └── setup.ksh
│ │ │ ├── nontrivial
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_acl_aclmode_restricted_001_neg.ksh
│ │ │ │ ├── zfs_acl_chmod_001_neg.ksh
│ │ │ │ ├── zfs_acl_chmod_002_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_aclmode_001_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_compact_001_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_delete_001_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_inherit_001_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_inherit_002_neg.ksh
│ │ │ │ ├── zfs_acl_chmod_inherit_002_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_inherit_003_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_inherit_004_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_owner_001_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_rwacl_001_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_rwx_001_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_rwx_002_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_rwx_003_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_rwx_004_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_xattr_001_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_xattr_002_pos.ksh
│ │ │ │ ├── zfs_acl_cp_001_pos.ksh
│ │ │ │ ├── zfs_acl_cp_002_pos.ksh
│ │ │ │ ├── zfs_acl_cpio_001_pos.ksh
│ │ │ │ ├── zfs_acl_cpio_002_pos.ksh
│ │ │ │ ├── zfs_acl_find_001_pos.ksh
│ │ │ │ ├── zfs_acl_ls_001_pos.ksh
│ │ │ │ ├── zfs_acl_mv_001_pos.ksh
│ │ │ │ ├── zfs_acl_tar_001_pos.ksh
│ │ │ │ └── zfs_acl_tar_002_pos.ksh
│ │ │ ├── posix
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── posix_001_pos.ksh
│ │ │ │ ├── posix_002_pos.ksh
│ │ │ │ └── setup.ksh
│ │ │ └── trivial
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_acl_aclmode_restricted_001_pos.ksh
│ │ │ │ ├── zfs_acl_chmod_001_pos.ksh
│ │ │ │ ├── zfs_acl_compress_001_pos.ksh
│ │ │ │ ├── zfs_acl_cp_001_pos.ksh
│ │ │ │ ├── zfs_acl_cp_002_neg.ksh
│ │ │ │ ├── zfs_acl_cp_003_neg.ksh
│ │ │ │ ├── zfs_acl_find_001_pos.ksh
│ │ │ │ ├── zfs_acl_find_002_neg.ksh
│ │ │ │ ├── zfs_acl_ls_001_pos.ksh
│ │ │ │ ├── zfs_acl_ls_002_neg.ksh
│ │ │ │ ├── zfs_acl_mv_001_pos.ksh
│ │ │ │ ├── zfs_acl_pack_001_pos.ksh
│ │ │ │ ├── zfs_acl_pax_001_pos.ksh
│ │ │ │ ├── zfs_acl_pax_002_pos.ksh
│ │ │ │ ├── zfs_acl_pax_003_pos.ksh
│ │ │ │ ├── zfs_acl_pax_004_pos.ksh
│ │ │ │ ├── zfs_acl_pax_005_pos.ksh
│ │ │ │ ├── zfs_acl_pax_006_pos.ksh
│ │ │ │ ├── zfs_acl_tar_001_pos.ksh
│ │ │ │ └── zfs_acl_tar_002_neg.ksh
│ │ ├── alloc_class
│ │ │ ├── alloc_class.cfg
│ │ │ ├── alloc_class.kshlib
│ │ │ ├── alloc_class_001_pos.ksh
│ │ │ ├── alloc_class_002_neg.ksh
│ │ │ ├── alloc_class_003_pos.ksh
│ │ │ ├── alloc_class_004_pos.ksh
│ │ │ ├── alloc_class_005_pos.ksh
│ │ │ ├── alloc_class_006_pos.ksh
│ │ │ ├── alloc_class_007_pos.ksh
│ │ │ ├── alloc_class_008_pos.ksh
│ │ │ ├── alloc_class_009_pos.ksh
│ │ │ ├── alloc_class_010_pos.ksh
│ │ │ ├── alloc_class_011_neg.ksh
│ │ │ ├── alloc_class_012_pos.ksh
│ │ │ ├── alloc_class_013_pos.ksh
│ │ │ ├── cleanup.ksh
│ │ │ └── setup.ksh
│ │ ├── atime
│ │ │ ├── atime.cfg
│ │ │ ├── atime_001_pos.ksh
│ │ │ ├── atime_002_neg.ksh
│ │ │ ├── atime_common.kshlib
│ │ │ ├── cleanup.ksh
│ │ │ └── setup.ksh
│ │ ├── bootfs
│ │ │ ├── bootfs_001_pos.ksh
│ │ │ ├── bootfs_002_neg.ksh
│ │ │ ├── bootfs_003_pos.ksh
│ │ │ ├── bootfs_004_neg.ksh
│ │ │ ├── bootfs_005_neg.ksh
│ │ │ ├── bootfs_006_pos.ksh
│ │ │ ├── bootfs_007_neg.ksh
│ │ │ └── bootfs_008_neg.ksh
│ │ ├── cache
│ │ │ ├── cache.cfg
│ │ │ ├── cache.kshlib
│ │ │ ├── cache_001_pos.ksh
│ │ │ ├── cache_002_pos.ksh
│ │ │ ├── cache_003_pos.ksh
│ │ │ ├── cache_004_neg.ksh
│ │ │ ├── cache_005_neg.ksh
│ │ │ ├── cache_006_pos.ksh
│ │ │ ├── cache_007_neg.ksh
│ │ │ ├── cache_008_neg.ksh
│ │ │ ├── cache_009_pos.ksh
│ │ │ ├── cache_010_neg.ksh
│ │ │ ├── cache_011_pos.ksh
│ │ │ ├── cleanup.ksh
│ │ │ └── setup.ksh
│ │ ├── cachefile
│ │ │ ├── cachefile.cfg
│ │ │ ├── cachefile.kshlib
│ │ │ ├── cachefile_001_pos.ksh
│ │ │ ├── cachefile_002_pos.ksh
│ │ │ ├── cachefile_003_pos.ksh
│ │ │ └── cachefile_004_pos.ksh
│ │ ├── channel_program
│ │ │ ├── Makefile.am
│ │ │ ├── channel_common.kshlib
│ │ │ ├── lua_core
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── tst.args_to_lua.ksh
│ │ │ │ ├── tst.args_to_lua.out
│ │ │ │ ├── tst.args_to_lua.zcp
│ │ │ │ ├── tst.divide_by_zero.err
│ │ │ │ ├── tst.divide_by_zero.ksh
│ │ │ │ ├── tst.divide_by_zero.zcp
│ │ │ │ ├── tst.exists.ksh
│ │ │ │ ├── tst.exists.zcp
│ │ │ │ ├── tst.integer_illegal.ksh
│ │ │ │ ├── tst.integer_overflow.ksh
│ │ │ │ ├── tst.language_functions_neg.ksh
│ │ │ │ ├── tst.language_functions_pos.ksh
│ │ │ │ ├── tst.large_prog.ksh
│ │ │ │ ├── tst.large_prog.out
│ │ │ │ ├── tst.large_prog.zcp
│ │ │ │ ├── tst.memory_limit.ksh
│ │ │ │ ├── tst.nested_neg.ksh
│ │ │ │ ├── tst.nested_neg.zcp
│ │ │ │ ├── tst.nested_pos.ksh
│ │ │ │ ├── tst.nested_pos.zcp
│ │ │ │ ├── tst.nvlist_to_lua.ksh
│ │ │ │ ├── tst.recursive.zcp
│ │ │ │ ├── tst.recursive_neg.ksh
│ │ │ │ ├── tst.recursive_pos.ksh
│ │ │ │ ├── tst.return_large.ksh
│ │ │ │ ├── tst.return_large.zcp
│ │ │ │ ├── tst.return_nvlist_neg.ksh
│ │ │ │ ├── tst.return_nvlist_pos.ksh
│ │ │ │ ├── tst.return_recursive_table.ksh
│ │ │ │ ├── tst.return_recursive_table.zcp
│ │ │ │ ├── tst.timeout.ksh
│ │ │ │ └── tst.timeout.zcp
│ │ │ └── synctask_core
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── tst.destroy_fs.ksh
│ │ │ │ ├── tst.destroy_snap.ksh
│ │ │ │ ├── tst.get_count_and_limit.ksh
│ │ │ │ ├── tst.get_index_props.ksh
│ │ │ │ ├── tst.get_index_props.out
│ │ │ │ ├── tst.get_index_props.zcp
│ │ │ │ ├── tst.get_mountpoint.ksh
│ │ │ │ ├── tst.get_neg.ksh
│ │ │ │ ├── tst.get_number_props.ksh
│ │ │ │ ├── tst.get_number_props.out
│ │ │ │ ├── tst.get_number_props.zcp
│ │ │ │ ├── tst.get_string_props.ksh
│ │ │ │ ├── tst.get_string_props.out
│ │ │ │ ├── tst.get_string_props.zcp
│ │ │ │ ├── tst.get_type.ksh
│ │ │ │ ├── tst.get_userquota.ksh
│ │ │ │ ├── tst.get_written.ksh
│ │ │ │ ├── tst.list_children.ksh
│ │ │ │ ├── tst.list_clones.ksh
│ │ │ │ ├── tst.list_snapshots.ksh
│ │ │ │ ├── tst.list_system_props.ksh
│ │ │ │ ├── tst.parse_args_neg.ksh
│ │ │ │ ├── tst.promote_conflict.ksh
│ │ │ │ ├── tst.promote_conflict.zcp
│ │ │ │ ├── tst.promote_multiple.ksh
│ │ │ │ ├── tst.promote_simple.ksh
│ │ │ │ ├── tst.rollback_mult.ksh
│ │ │ │ ├── tst.rollback_one.ksh
│ │ │ │ ├── tst.snapshot_destroy.ksh
│ │ │ │ ├── tst.snapshot_destroy.zcp
│ │ │ │ ├── tst.snapshot_neg.ksh
│ │ │ │ ├── tst.snapshot_neg.zcp
│ │ │ │ ├── tst.snapshot_recursive.ksh
│ │ │ │ ├── tst.snapshot_recursive.zcp
│ │ │ │ ├── tst.snapshot_simple.ksh
│ │ │ │ └── tst.snapshot_simple.zcp
│ │ ├── clean_mirror
│ │ │ ├── clean_mirror_001_pos.ksh
│ │ │ ├── clean_mirror_002_pos.ksh
│ │ │ ├── clean_mirror_003_pos.ksh
│ │ │ ├── clean_mirror_004_pos.ksh
│ │ │ ├── clean_mirror_common.kshlib
│ │ │ ├── cleanup.ksh
│ │ │ ├── default.cfg
│ │ │ └── setup.ksh
│ │ ├── cli_root
│ │ │ ├── cli_common.kshlib
│ │ │ ├── zdb
│ │ │ │ └── zdb_001_neg.ksh
│ │ │ ├── zfs
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_001_neg.ksh
│ │ │ │ ├── zfs_002_pos.ksh
│ │ │ │ └── zfs_003_neg.ksh
│ │ │ ├── zfs_change-key
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_change-key.ksh
│ │ │ │ ├── zfs_change-key_child.ksh
│ │ │ │ ├── zfs_change-key_format.ksh
│ │ │ │ ├── zfs_change-key_inherit.ksh
│ │ │ │ ├── zfs_change-key_load.ksh
│ │ │ │ ├── zfs_change-key_location.ksh
│ │ │ │ └── zfs_change-key_pbkdf2iters.ksh
│ │ │ ├── zfs_clone
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_clone_001_neg.ksh
│ │ │ │ ├── zfs_clone_002_pos.ksh
│ │ │ │ ├── zfs_clone_003_pos.ksh
│ │ │ │ ├── zfs_clone_004_pos.ksh
│ │ │ │ ├── zfs_clone_005_pos.ksh
│ │ │ │ ├── zfs_clone_006_pos.ksh
│ │ │ │ ├── zfs_clone_007_pos.ksh
│ │ │ │ ├── zfs_clone_008_neg.ksh
│ │ │ │ ├── zfs_clone_009_neg.ksh
│ │ │ │ ├── zfs_clone_010_pos.ksh
│ │ │ │ └── zfs_clone_encrypted.ksh
│ │ │ ├── zfs_copies
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_copies.cfg
│ │ │ │ ├── zfs_copies.kshlib
│ │ │ │ ├── zfs_copies_001_pos.ksh
│ │ │ │ ├── zfs_copies_002_pos.ksh
│ │ │ │ ├── zfs_copies_003_pos.ksh
│ │ │ │ ├── zfs_copies_004_neg.ksh
│ │ │ │ ├── zfs_copies_005_neg.ksh
│ │ │ │ └── zfs_copies_006_pos.ksh
│ │ │ ├── zfs_create
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── properties.kshlib
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_create.cfg
│ │ │ │ ├── zfs_create_001_pos.ksh
│ │ │ │ ├── zfs_create_002_pos.ksh
│ │ │ │ ├── zfs_create_003_pos.ksh
│ │ │ │ ├── zfs_create_004_pos.ksh
│ │ │ │ ├── zfs_create_005_pos.ksh
│ │ │ │ ├── zfs_create_006_pos.ksh
│ │ │ │ ├── zfs_create_007_pos.ksh
│ │ │ │ ├── zfs_create_008_neg.ksh
│ │ │ │ ├── zfs_create_009_neg.ksh
│ │ │ │ ├── zfs_create_010_neg.ksh
│ │ │ │ ├── zfs_create_011_pos.ksh
│ │ │ │ ├── zfs_create_012_pos.ksh
│ │ │ │ ├── zfs_create_013_pos.ksh
│ │ │ │ ├── zfs_create_014_pos.ksh
│ │ │ │ ├── zfs_create_common.kshlib
│ │ │ │ ├── zfs_create_crypt_combos.ksh
│ │ │ │ └── zfs_create_encrypted.ksh
│ │ │ ├── zfs_destroy
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_destroy.cfg
│ │ │ │ ├── zfs_destroy_001_pos.ksh
│ │ │ │ ├── zfs_destroy_002_pos.ksh
│ │ │ │ ├── zfs_destroy_003_pos.ksh
│ │ │ │ ├── zfs_destroy_004_pos.ksh
│ │ │ │ ├── zfs_destroy_005_neg.ksh
│ │ │ │ ├── zfs_destroy_006_neg.ksh
│ │ │ │ ├── zfs_destroy_007_neg.ksh
│ │ │ │ ├── zfs_destroy_008_pos.ksh
│ │ │ │ ├── zfs_destroy_009_pos.ksh
│ │ │ │ ├── zfs_destroy_010_pos.ksh
│ │ │ │ ├── zfs_destroy_011_pos.ksh
│ │ │ │ ├── zfs_destroy_012_pos.ksh
│ │ │ │ ├── zfs_destroy_013_neg.ksh
│ │ │ │ ├── zfs_destroy_014_pos.ksh
│ │ │ │ ├── zfs_destroy_015_pos.ksh
│ │ │ │ ├── zfs_destroy_016_pos.ksh
│ │ │ │ └── zfs_destroy_common.kshlib
│ │ │ ├── zfs_diff
│ │ │ │ └── zfs_diff_encrypted.ksh
│ │ │ ├── zfs_get
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_get_001_pos.ksh
│ │ │ │ ├── zfs_get_002_pos.ksh
│ │ │ │ ├── zfs_get_003_pos.ksh
│ │ │ │ ├── zfs_get_004_pos.ksh
│ │ │ │ ├── zfs_get_005_neg.ksh
│ │ │ │ ├── zfs_get_006_neg.ksh
│ │ │ │ ├── zfs_get_007_neg.ksh
│ │ │ │ ├── zfs_get_008_pos.ksh
│ │ │ │ ├── zfs_get_009_pos.ksh
│ │ │ │ ├── zfs_get_010_neg.ksh
│ │ │ │ ├── zfs_get_common.kshlib
│ │ │ │ └── zfs_get_list_d.kshlib
│ │ │ ├── zfs_inherit
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_inherit_001_neg.ksh
│ │ │ │ ├── zfs_inherit_002_neg.ksh
│ │ │ │ └── zfs_inherit_003_pos.ksh
│ │ │ ├── zfs_load-key
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_load-key.cfg
│ │ │ │ ├── zfs_load-key.ksh
│ │ │ │ ├── zfs_load-key_all.ksh
│ │ │ │ ├── zfs_load-key_common.kshlib
│ │ │ │ ├── zfs_load-key_file.ksh
│ │ │ │ ├── zfs_load-key_location.ksh
│ │ │ │ ├── zfs_load-key_noop.ksh
│ │ │ │ └── zfs_load-key_recursive.ksh
│ │ │ ├── zfs_mount
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_mount.cfg
│ │ │ │ ├── zfs_mount.kshlib
│ │ │ │ ├── zfs_mount_001_pos.ksh
│ │ │ │ ├── zfs_mount_002_pos.ksh
│ │ │ │ ├── zfs_mount_003_pos.ksh
│ │ │ │ ├── zfs_mount_004_pos.ksh
│ │ │ │ ├── zfs_mount_005_pos.ksh
│ │ │ │ ├── zfs_mount_006_pos.ksh
│ │ │ │ ├── zfs_mount_007_pos.ksh
│ │ │ │ ├── zfs_mount_008_pos.ksh
│ │ │ │ ├── zfs_mount_009_neg.ksh
│ │ │ │ ├── zfs_mount_010_neg.ksh
│ │ │ │ ├── zfs_mount_011_neg.ksh
│ │ │ │ ├── zfs_mount_012_pos.ksh
│ │ │ │ ├── zfs_mount_all_001_pos.ksh
│ │ │ │ └── zfs_mount_encrypted.ksh
│ │ │ ├── zfs_program
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ └── zfs_program_json.ksh
│ │ │ ├── zfs_promote
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_promote.cfg
│ │ │ │ ├── zfs_promote_001_pos.ksh
│ │ │ │ ├── zfs_promote_002_pos.ksh
│ │ │ │ ├── zfs_promote_003_pos.ksh
│ │ │ │ ├── zfs_promote_004_pos.ksh
│ │ │ │ ├── zfs_promote_005_pos.ksh
│ │ │ │ ├── zfs_promote_006_neg.ksh
│ │ │ │ ├── zfs_promote_007_neg.ksh
│ │ │ │ ├── zfs_promote_008_pos.ksh
│ │ │ │ └── zfs_promote_encryptionroot.ksh
│ │ │ ├── zfs_property
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ └── zfs_written_property_001_pos.ksh
│ │ │ ├── zfs_receive
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── receive-o-x_props_override.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_receive_001_pos.ksh
│ │ │ │ ├── zfs_receive_002_pos.ksh
│ │ │ │ ├── zfs_receive_003_pos.ksh
│ │ │ │ ├── zfs_receive_004_neg.ksh
│ │ │ │ ├── zfs_receive_005_neg.ksh
│ │ │ │ ├── zfs_receive_006_pos.ksh
│ │ │ │ ├── zfs_receive_007_neg.ksh
│ │ │ │ ├── zfs_receive_008_pos.ksh
│ │ │ │ ├── zfs_receive_009_neg.ksh
│ │ │ │ ├── zfs_receive_from_encrypted.ksh
│ │ │ │ ├── zfs_receive_raw.ksh
│ │ │ │ ├── zfs_receive_raw_incremental.ksh
│ │ │ │ └── zfs_receive_to_encrypted.ksh
│ │ │ ├── zfs_remap
│ │ │ │ ├── Makefile
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_remap_cliargs.ksh
│ │ │ │ └── zfs_remap_obsolete_counts.ksh
│ │ │ ├── zfs_rename
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_rename.cfg
│ │ │ │ ├── zfs_rename.kshlib
│ │ │ │ ├── zfs_rename_001_pos.ksh
│ │ │ │ ├── zfs_rename_002_pos.ksh
│ │ │ │ ├── zfs_rename_003_pos.ksh
│ │ │ │ ├── zfs_rename_004_neg.ksh
│ │ │ │ ├── zfs_rename_005_neg.ksh
│ │ │ │ ├── zfs_rename_006_pos.ksh
│ │ │ │ ├── zfs_rename_007_pos.ksh
│ │ │ │ ├── zfs_rename_008_pos.ksh
│ │ │ │ ├── zfs_rename_009_neg.ksh
│ │ │ │ ├── zfs_rename_010_neg.ksh
│ │ │ │ ├── zfs_rename_011_pos.ksh
│ │ │ │ ├── zfs_rename_012_neg.ksh
│ │ │ │ ├── zfs_rename_013_pos.ksh
│ │ │ │ ├── zfs_rename_014_neg.ksh
│ │ │ │ ├── zfs_rename_encrypted_child.ksh
│ │ │ │ └── zfs_rename_to_encrypted.ksh
│ │ │ ├── zfs_reservation
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_reservation_001_pos.ksh
│ │ │ │ └── zfs_reservation_002_pos.ksh
│ │ │ ├── zfs_rollback
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_rollback.cfg
│ │ │ │ ├── zfs_rollback_001_pos.ksh
│ │ │ │ ├── zfs_rollback_002_pos.ksh
│ │ │ │ ├── zfs_rollback_003_neg.ksh
│ │ │ │ ├── zfs_rollback_004_neg.ksh
│ │ │ │ └── zfs_rollback_common.kshlib
│ │ │ ├── zfs_send
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_send.cfg
│ │ │ │ ├── zfs_send_001_pos.ksh
│ │ │ │ ├── zfs_send_002_pos.ksh
│ │ │ │ ├── zfs_send_003_pos.ksh
│ │ │ │ ├── zfs_send_004_neg.ksh
│ │ │ │ ├── zfs_send_005_pos.ksh
│ │ │ │ ├── zfs_send_006_pos.ksh
│ │ │ │ ├── zfs_send_007_pos.ksh
│ │ │ │ ├── zfs_send_encrypted.ksh
│ │ │ │ ├── zfs_send_encrypted_unloaded.ksh
│ │ │ │ ├── zfs_send_raw.ksh
│ │ │ │ └── zfs_send_sparse.ksh
│ │ │ ├── zfs_set
│ │ │ │ ├── cache_001_pos.ksh
│ │ │ │ ├── cache_002_neg.ksh
│ │ │ │ ├── canmount_001_pos.ksh
│ │ │ │ ├── canmount_002_pos.ksh
│ │ │ │ ├── canmount_003_pos.ksh
│ │ │ │ ├── canmount_004_pos.ksh
│ │ │ │ ├── checksum_001_pos.ksh
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── compression_001_pos.ksh
│ │ │ │ ├── mountpoint_001_pos.ksh
│ │ │ │ ├── mountpoint_002_pos.ksh
│ │ │ │ ├── mountpoint_003_pos.ksh
│ │ │ │ ├── onoffs_001_pos.ksh
│ │ │ │ ├── property_alias_001_pos.ksh
│ │ │ │ ├── readonly_001_pos.ksh
│ │ │ │ ├── reservation_001_neg.ksh
│ │ │ │ ├── ro_props_001_pos.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── share_mount_001_neg.ksh
│ │ │ │ ├── snapdir_001_pos.ksh
│ │ │ │ ├── user_property_001_pos.ksh
│ │ │ │ ├── user_property_002_pos.ksh
│ │ │ │ ├── user_property_003_neg.ksh
│ │ │ │ ├── user_property_004_pos.ksh
│ │ │ │ ├── version_001_neg.ksh
│ │ │ │ ├── zfs_set_001_neg.ksh
│ │ │ │ ├── zfs_set_002_neg.ksh
│ │ │ │ ├── zfs_set_003_neg.ksh
│ │ │ │ ├── zfs_set_common.kshlib
│ │ │ │ └── zfs_set_keylocation.ksh
│ │ │ ├── zfs_share
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_share.cfg
│ │ │ │ ├── zfs_share_001_pos.ksh
│ │ │ │ ├── zfs_share_002_pos.ksh
│ │ │ │ ├── zfs_share_003_pos.ksh
│ │ │ │ ├── zfs_share_004_pos.ksh
│ │ │ │ ├── zfs_share_005_pos.ksh
│ │ │ │ ├── zfs_share_006_pos.ksh
│ │ │ │ ├── zfs_share_007_neg.ksh
│ │ │ │ ├── zfs_share_008_neg.ksh
│ │ │ │ ├── zfs_share_009_neg.ksh
│ │ │ │ ├── zfs_share_010_neg.ksh
│ │ │ │ └── zfs_share_011_pos.ksh
│ │ │ ├── zfs_snapshot
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_snapshot.cfg
│ │ │ │ ├── zfs_snapshot_001_neg.ksh
│ │ │ │ ├── zfs_snapshot_002_neg.ksh
│ │ │ │ ├── zfs_snapshot_003_neg.ksh
│ │ │ │ ├── zfs_snapshot_004_neg.ksh
│ │ │ │ ├── zfs_snapshot_005_neg.ksh
│ │ │ │ ├── zfs_snapshot_006_pos.ksh
│ │ │ │ ├── zfs_snapshot_007_neg.ksh
│ │ │ │ ├── zfs_snapshot_008_neg.ksh
│ │ │ │ └── zfs_snapshot_009_pos.ksh
│ │ │ ├── zfs_unload-key
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_unload-key.ksh
│ │ │ │ ├── zfs_unload-key_all.ksh
│ │ │ │ └── zfs_unload-key_recursive.ksh
│ │ │ ├── zfs_unmount
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_unmount.cfg
│ │ │ │ ├── zfs_unmount.kshlib
│ │ │ │ ├── zfs_unmount_001_pos.ksh
│ │ │ │ ├── zfs_unmount_002_pos.ksh
│ │ │ │ ├── zfs_unmount_003_pos.ksh
│ │ │ │ ├── zfs_unmount_004_pos.ksh
│ │ │ │ ├── zfs_unmount_005_pos.ksh
│ │ │ │ ├── zfs_unmount_006_pos.ksh
│ │ │ │ ├── zfs_unmount_007_neg.ksh
│ │ │ │ ├── zfs_unmount_008_neg.ksh
│ │ │ │ ├── zfs_unmount_009_pos.ksh
│ │ │ │ └── zfs_unmount_all_001_pos.ksh
│ │ │ ├── zfs_unshare
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_unshare_001_pos.ksh
│ │ │ │ ├── zfs_unshare_002_pos.ksh
│ │ │ │ ├── zfs_unshare_003_pos.ksh
│ │ │ │ ├── zfs_unshare_004_neg.ksh
│ │ │ │ └── zfs_unshare_005_neg.ksh
│ │ │ ├── zfs_upgrade
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_upgrade.kshlib
│ │ │ │ ├── zfs_upgrade_001_pos.ksh
│ │ │ │ ├── zfs_upgrade_002_pos.ksh
│ │ │ │ ├── zfs_upgrade_003_pos.ksh
│ │ │ │ ├── zfs_upgrade_004_pos.ksh
│ │ │ │ ├── zfs_upgrade_005_pos.ksh
│ │ │ │ ├── zfs_upgrade_006_neg.ksh
│ │ │ │ └── zfs_upgrade_007_neg.ksh
│ │ │ ├── zpool
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_001_neg.ksh
│ │ │ │ ├── zpool_002_pos.ksh
│ │ │ │ └── zpool_003_pos.ksh
│ │ │ ├── zpool_add
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_add.cfg
│ │ │ │ ├── zpool_add.kshlib
│ │ │ │ ├── zpool_add_001_pos.ksh
│ │ │ │ ├── zpool_add_002_pos.ksh
│ │ │ │ ├── zpool_add_003_pos.ksh
│ │ │ │ ├── zpool_add_004_pos.ksh
│ │ │ │ ├── zpool_add_005_pos.ksh
│ │ │ │ ├── zpool_add_006_pos.ksh
│ │ │ │ ├── zpool_add_007_neg.ksh
│ │ │ │ ├── zpool_add_008_neg.ksh
│ │ │ │ └── zpool_add_009_neg.ksh
│ │ │ ├── zpool_attach
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ └── zpool_attach_001_neg.ksh
│ │ │ ├── zpool_clear
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_clear.cfg
│ │ │ │ ├── zpool_clear_001_pos.ksh
│ │ │ │ ├── zpool_clear_002_neg.ksh
│ │ │ │ └── zpool_clear_003_neg.ksh
│ │ │ ├── zpool_create
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── create-o_ashift.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_create.cfg
│ │ │ │ ├── zpool_create.shlib
│ │ │ │ ├── zpool_create_001_pos.ksh
│ │ │ │ ├── zpool_create_002_pos.ksh
│ │ │ │ ├── zpool_create_003_pos.ksh
│ │ │ │ ├── zpool_create_004_pos.ksh
│ │ │ │ ├── zpool_create_005_pos.ksh
│ │ │ │ ├── zpool_create_006_pos.ksh
│ │ │ │ ├── zpool_create_007_neg.ksh
│ │ │ │ ├── zpool_create_008_pos.ksh
│ │ │ │ ├── zpool_create_009_neg.ksh
│ │ │ │ ├── zpool_create_010_neg.ksh
│ │ │ │ ├── zpool_create_011_neg.ksh
│ │ │ │ ├── zpool_create_012_neg.ksh
│ │ │ │ ├── zpool_create_013_neg.ksh
│ │ │ │ ├── zpool_create_014_neg.ksh
│ │ │ │ ├── zpool_create_015_neg.ksh
│ │ │ │ ├── zpool_create_016_pos.ksh
│ │ │ │ ├── zpool_create_017_neg.ksh
│ │ │ │ ├── zpool_create_018_pos.ksh
│ │ │ │ ├── zpool_create_019_pos.ksh
│ │ │ │ ├── zpool_create_020_pos.ksh
│ │ │ │ ├── zpool_create_021_pos.ksh
│ │ │ │ ├── zpool_create_022_pos.ksh
│ │ │ │ ├── zpool_create_023_neg.ksh
│ │ │ │ ├── zpool_create_crypt_combos.ksh
│ │ │ │ ├── zpool_create_encrypted.ksh
│ │ │ │ ├── zpool_create_features_001_pos.ksh
│ │ │ │ ├── zpool_create_features_002_pos.ksh
│ │ │ │ ├── zpool_create_features_003_pos.ksh
│ │ │ │ └── zpool_create_features_004_neg.ksh
│ │ │ ├── zpool_destroy
│ │ │ │ ├── zpool_destroy.cfg
│ │ │ │ ├── zpool_destroy_001_pos.ksh
│ │ │ │ ├── zpool_destroy_002_pos.ksh
│ │ │ │ └── zpool_destroy_003_neg.ksh
│ │ │ ├── zpool_detach
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ └── zpool_detach_001_neg.ksh
│ │ │ ├── zpool_expand
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_expand.cfg
│ │ │ │ ├── zpool_expand_001_pos.ksh
│ │ │ │ ├── zpool_expand_002_pos.ksh
│ │ │ │ └── zpool_expand_003_neg.ksh
│ │ │ ├── zpool_export
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_export_001_pos.ksh
│ │ │ │ ├── zpool_export_002_pos.ksh
│ │ │ │ ├── zpool_export_003_neg.ksh
│ │ │ │ └── zpool_export_004_pos.ksh
│ │ │ ├── zpool_get
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_get.cfg
│ │ │ │ ├── zpool_get_001_pos.ksh
│ │ │ │ ├── zpool_get_002_pos.ksh
│ │ │ │ ├── zpool_get_003_pos.ksh
│ │ │ │ └── zpool_get_004_neg.ksh
│ │ │ ├── zpool_history
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_history_001_neg.ksh
│ │ │ │ └── zpool_history_002_pos.ksh
│ │ │ ├── zpool_import
│ │ │ │ ├── blockfiles
│ │ │ │ │ ├── README
│ │ │ │ │ ├── missing_ivset.dat.bz2
│ │ │ │ │ └── unclean_export.dat.bz2
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── cryptv0.dat.bz2
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_import.cfg
│ │ │ │ ├── zpool_import
│ │ │ │ │ ├── import_cachefile_device_added.ksh
│ │ │ │ │ ├── import_cachefile_device_removed.ksh
│ │ │ │ │ ├── import_cachefile_device_replaced.ksh
│ │ │ │ │ ├── import_cachefile_mirror_attached.ksh
│ │ │ │ │ ├── import_cachefile_mirror_detached.ksh
│ │ │ │ │ ├── import_cachefile_shared_device.ksh
│ │ │ │ │ ├── import_devices_missing.ksh
│ │ │ │ │ ├── import_paths_changed.ksh
│ │ │ │ │ ├── import_rewind_config_changed.ksh
│ │ │ │ │ ├── import_rewind_device_replaced.ksh
│ │ │ │ │ └── zpool_import.kshlib
│ │ │ │ ├── zpool_import_001_pos.ksh
│ │ │ │ ├── zpool_import_002_pos.ksh
│ │ │ │ ├── zpool_import_003_pos.ksh
│ │ │ │ ├── zpool_import_004_pos.ksh
│ │ │ │ ├── zpool_import_005_pos.ksh
│ │ │ │ ├── zpool_import_006_pos.ksh
│ │ │ │ ├── zpool_import_007_pos.ksh
│ │ │ │ ├── zpool_import_008_pos.ksh
│ │ │ │ ├── zpool_import_009_neg.ksh
│ │ │ │ ├── zpool_import_010_pos.ksh
│ │ │ │ ├── zpool_import_011_neg.ksh
│ │ │ │ ├── zpool_import_012_pos.ksh
│ │ │ │ ├── zpool_import_013_neg.ksh
│ │ │ │ ├── zpool_import_all_001_pos.ksh
│ │ │ │ ├── zpool_import_encrypted.ksh
│ │ │ │ ├── zpool_import_encrypted_load.ksh
│ │ │ │ ├── zpool_import_errata3.ksh
│ │ │ │ ├── zpool_import_errata4.ksh
│ │ │ │ ├── zpool_import_features_001_pos.ksh
│ │ │ │ ├── zpool_import_features_002_neg.ksh
│ │ │ │ ├── zpool_import_features_003_pos.ksh
│ │ │ │ ├── zpool_import_missing_001_pos.ksh
│ │ │ │ ├── zpool_import_missing_002_pos.ksh
│ │ │ │ ├── zpool_import_missing_003_pos.ksh
│ │ │ │ └── zpool_import_rename_001_pos.ksh
│ │ │ ├── zpool_initialize
│ │ │ │ ├── Makefile
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── zpool_initialize.kshlib
│ │ │ │ ├── zpool_initialize_attach_detach_add_remove.ksh
│ │ │ │ ├── zpool_initialize_import_export.ksh
│ │ │ │ ├── zpool_initialize_offline_export_import_online.ksh
│ │ │ │ ├── zpool_initialize_online_offline.ksh
│ │ │ │ ├── zpool_initialize_split.ksh
│ │ │ │ ├── zpool_initialize_start_and_cancel_neg.ksh
│ │ │ │ ├── zpool_initialize_start_and_cancel_pos.ksh
│ │ │ │ ├── zpool_initialize_suspend_resume.ksh
│ │ │ │ ├── zpool_initialize_unsupported_vdevs.ksh
│ │ │ │ ├── zpool_initialize_verify_checksums.ksh
│ │ │ │ └── zpool_initialize_verify_initialized.ksh
│ │ │ ├── zpool_offline
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_offline_001_pos.ksh
│ │ │ │ ├── zpool_offline_002_neg.ksh
│ │ │ │ └── zpool_offline_003_pos.ksh
│ │ │ ├── zpool_online
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_online_001_pos.ksh
│ │ │ │ └── zpool_online_002_neg.ksh
│ │ │ ├── zpool_remove
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_remove.cfg
│ │ │ │ ├── zpool_remove_001_neg.ksh
│ │ │ │ ├── zpool_remove_002_pos.ksh
│ │ │ │ └── zpool_remove_003_pos.ksh
│ │ │ ├── zpool_reopen
│ │ │ │ ├── zpool_reopen
│ │ │ │ │ ├── cleanup.ksh
│ │ │ │ │ ├── setup.ksh
│ │ │ │ │ ├── zpool_reopen.cfg
│ │ │ │ │ ├── zpool_reopen.shlib
│ │ │ │ │ ├── zpool_reopen_001_pos.ksh
│ │ │ │ │ ├── zpool_reopen_002_pos.ksh
│ │ │ │ │ ├── zpool_reopen_005_pos.ksh
│ │ │ │ │ └── zpool_reopen_006_neg.ksh
│ │ │ │ ├── zpool_reopen_003_pos.ksh
│ │ │ │ └── zpool_reopen_004_pos.ksh
│ │ │ ├── zpool_replace
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ └── zpool_replace_001_neg.ksh
│ │ │ ├── zpool_resilver
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_resilver.cfg
│ │ │ │ ├── zpool_resilver_bad_args.ksh
│ │ │ │ └── zpool_resilver_restart.ksh
│ │ │ ├── zpool_scrub
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_scrub.cfg
│ │ │ │ ├── zpool_scrub_001_neg.ksh
│ │ │ │ ├── zpool_scrub_002_pos.ksh
│ │ │ │ ├── zpool_scrub_003_pos.ksh
│ │ │ │ ├── zpool_scrub_004_pos.ksh
│ │ │ │ ├── zpool_scrub_005_pos.ksh
│ │ │ │ ├── zpool_scrub_encrypted_unloaded.ksh
│ │ │ │ ├── zpool_scrub_multiple_copies.ksh
│ │ │ │ └── zpool_scrub_offline_device.ksh
│ │ │ ├── zpool_set
│ │ │ │ ├── zpool_set_001_pos.ksh
│ │ │ │ ├── zpool_set_002_neg.ksh
│ │ │ │ └── zpool_set_003_neg.ksh
│ │ │ ├── zpool_split
│ │ │ │ └── zpool_split_resilver.ksh
│ │ │ ├── zpool_status
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_status_001_pos.ksh
│ │ │ │ └── zpool_status_002_pos.ksh
│ │ │ ├── zpool_sync
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_sync_001_pos.ksh
│ │ │ │ └── zpool_sync_002_neg.ksh
│ │ │ ├── zpool_trim
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_trim.kshlib
│ │ │ │ ├── zpool_trim_attach_detach_add_remove.ksh
│ │ │ │ ├── zpool_trim_import_export.ksh
│ │ │ │ ├── zpool_trim_multiple.ksh
│ │ │ │ ├── zpool_trim_neg.ksh
│ │ │ │ ├── zpool_trim_offline_export_import_online.ksh
│ │ │ │ ├── zpool_trim_online_offline.ksh
│ │ │ │ ├── zpool_trim_partial.ksh
│ │ │ │ ├── zpool_trim_rate.ksh
│ │ │ │ ├── zpool_trim_rate_neg.ksh
│ │ │ │ ├── zpool_trim_secure.ksh
│ │ │ │ ├── zpool_trim_split.ksh
│ │ │ │ ├── zpool_trim_start_and_cancel_neg.ksh
│ │ │ │ ├── zpool_trim_start_and_cancel_pos.ksh
│ │ │ │ ├── zpool_trim_suspend_resume.ksh
│ │ │ │ ├── zpool_trim_unsupported_vdevs.ksh
│ │ │ │ ├── zpool_trim_verify_checksums.ksh
│ │ │ │ └── zpool_trim_verify_trimmed.ksh
│ │ │ └── zpool_upgrade
│ │ │ │ ├── blockfiles
│ │ │ │ ├── README
│ │ │ │ ├── zfs-broken-mirror1.dat.bz2
│ │ │ │ ├── zfs-broken-mirror2.dat.bz2
│ │ │ │ ├── zfs-pool-v1.dat.bz2
│ │ │ │ ├── zfs-pool-v10.dat.bz2
│ │ │ │ ├── zfs-pool-v11.dat.bz2
│ │ │ │ ├── zfs-pool-v12.dat.bz2
│ │ │ │ ├── zfs-pool-v13.dat.bz2
│ │ │ │ ├── zfs-pool-v14.dat.bz2
│ │ │ │ ├── zfs-pool-v15.dat.bz2
│ │ │ │ ├── zfs-pool-v1mirror1.dat.bz2
│ │ │ │ ├── zfs-pool-v1mirror2.dat.bz2
│ │ │ │ ├── zfs-pool-v1mirror3.dat.bz2
│ │ │ │ ├── zfs-pool-v1raidz1.dat.bz2
│ │ │ │ ├── zfs-pool-v1raidz2.dat.bz2
│ │ │ │ ├── zfs-pool-v1raidz3.dat.bz2
│ │ │ │ ├── zfs-pool-v1stripe1.dat.bz2
│ │ │ │ ├── zfs-pool-v1stripe2.dat.bz2
│ │ │ │ ├── zfs-pool-v1stripe3.dat.bz2
│ │ │ │ ├── zfs-pool-v2.dat.bz2
│ │ │ │ ├── zfs-pool-v2mirror1.dat.bz2
│ │ │ │ ├── zfs-pool-v2mirror2.dat.bz2
│ │ │ │ ├── zfs-pool-v2mirror3.dat.bz2
│ │ │ │ ├── zfs-pool-v2raidz1.dat.bz2
│ │ │ │ ├── zfs-pool-v2raidz2.dat.bz2
│ │ │ │ ├── zfs-pool-v2raidz3.dat.bz2
│ │ │ │ ├── zfs-pool-v2stripe1.dat.bz2
│ │ │ │ ├── zfs-pool-v2stripe2.dat.bz2
│ │ │ │ ├── zfs-pool-v2stripe3.dat.bz2
│ │ │ │ ├── zfs-pool-v3.dat.bz2
│ │ │ │ ├── zfs-pool-v3hotspare1.dat.bz2
│ │ │ │ ├── zfs-pool-v3hotspare2.dat.bz2
│ │ │ │ ├── zfs-pool-v3hotspare3.dat.bz2
│ │ │ │ ├── zfs-pool-v3mirror1.dat.bz2
│ │ │ │ ├── zfs-pool-v3mirror2.dat.bz2
│ │ │ │ ├── zfs-pool-v3mirror3.dat.bz2
│ │ │ │ ├── zfs-pool-v3raidz1.dat.bz2
│ │ │ │ ├── zfs-pool-v3raidz2.dat.bz2
│ │ │ │ ├── zfs-pool-v3raidz21.dat.bz2
│ │ │ │ ├── zfs-pool-v3raidz22.dat.bz2
│ │ │ │ ├── zfs-pool-v3raidz23.dat.bz2
│ │ │ │ ├── zfs-pool-v3raidz3.dat.bz2
│ │ │ │ ├── zfs-pool-v3stripe1.dat.bz2
│ │ │ │ ├── zfs-pool-v3stripe2.dat.bz2
│ │ │ │ ├── zfs-pool-v3stripe3.dat.bz2
│ │ │ │ ├── zfs-pool-v4.dat.bz2
│ │ │ │ ├── zfs-pool-v5.dat.bz2
│ │ │ │ ├── zfs-pool-v6.dat.bz2
│ │ │ │ ├── zfs-pool-v7.dat.bz2
│ │ │ │ ├── zfs-pool-v8.dat.bz2
│ │ │ │ ├── zfs-pool-v9.dat.bz2
│ │ │ │ ├── zfs-pool-v999.dat.bz2
│ │ │ │ └── zfs-pool-vBROKEN.dat.bz2
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_upgrade.cfg
│ │ │ │ ├── zpool_upgrade.kshlib
│ │ │ │ ├── zpool_upgrade_001_pos.ksh
│ │ │ │ ├── zpool_upgrade_002_pos.ksh
│ │ │ │ ├── zpool_upgrade_003_pos.ksh
│ │ │ │ ├── zpool_upgrade_004_pos.ksh
│ │ │ │ ├── zpool_upgrade_005_neg.ksh
│ │ │ │ ├── zpool_upgrade_006_neg.ksh
│ │ │ │ ├── zpool_upgrade_007_pos.ksh
│ │ │ │ ├── zpool_upgrade_008_pos.ksh
│ │ │ │ ├── zpool_upgrade_009_neg.ksh
│ │ │ │ └── zpool_upgrade_010_pos.ksh
│ │ ├── cli_user
│ │ │ ├── misc
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── misc.cfg
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zdb_001_neg.ksh
│ │ │ │ ├── zfs_001_neg.ksh
│ │ │ │ ├── zfs_allow_001_neg.ksh
│ │ │ │ ├── zfs_clone_001_neg.ksh
│ │ │ │ ├── zfs_create_001_neg.ksh
│ │ │ │ ├── zfs_destroy_001_neg.ksh
│ │ │ │ ├── zfs_get_001_neg.ksh
│ │ │ │ ├── zfs_inherit_001_neg.ksh
│ │ │ │ ├── zfs_mount_001_neg.ksh
│ │ │ │ ├── zfs_promote_001_neg.ksh
│ │ │ │ ├── zfs_receive_001_neg.ksh
│ │ │ │ ├── zfs_rename_001_neg.ksh
│ │ │ │ ├── zfs_rollback_001_neg.ksh
│ │ │ │ ├── zfs_send_001_neg.ksh
│ │ │ │ ├── zfs_set_001_neg.ksh
│ │ │ │ ├── zfs_share_001_neg.ksh
│ │ │ │ ├── zfs_snapshot_001_neg.ksh
│ │ │ │ ├── zfs_unallow_001_neg.ksh
│ │ │ │ ├── zfs_unmount_001_neg.ksh
│ │ │ │ ├── zfs_unshare_001_neg.ksh
│ │ │ │ ├── zfs_upgrade_001_neg.ksh
│ │ │ │ ├── zpool_001_neg.ksh
│ │ │ │ ├── zpool_add_001_neg.ksh
│ │ │ │ ├── zpool_attach_001_neg.ksh
│ │ │ │ ├── zpool_clear_001_neg.ksh
│ │ │ │ ├── zpool_create_001_neg.ksh
│ │ │ │ ├── zpool_destroy_001_neg.ksh
│ │ │ │ ├── zpool_detach_001_neg.ksh
│ │ │ │ ├── zpool_export_001_neg.ksh
│ │ │ │ ├── zpool_get_001_neg.ksh
│ │ │ │ ├── zpool_history_001_neg.ksh
│ │ │ │ ├── zpool_import_001_neg.ksh
│ │ │ │ ├── zpool_import_002_neg.ksh
│ │ │ │ ├── zpool_offline_001_neg.ksh
│ │ │ │ ├── zpool_online_001_neg.ksh
│ │ │ │ ├── zpool_remove_001_neg.ksh
│ │ │ │ ├── zpool_replace_001_neg.ksh
│ │ │ │ ├── zpool_scrub_001_neg.ksh
│ │ │ │ ├── zpool_set_001_neg.ksh
│ │ │ │ ├── zpool_status_001_neg.ksh
│ │ │ │ └── zpool_upgrade_001_neg.ksh
│ │ │ ├── zfs_list
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zfs_list.cfg
│ │ │ │ ├── zfs_list.kshlib
│ │ │ │ ├── zfs_list_001_pos.ksh
│ │ │ │ ├── zfs_list_002_pos.ksh
│ │ │ │ ├── zfs_list_003_pos.ksh
│ │ │ │ ├── zfs_list_004_neg.ksh
│ │ │ │ ├── zfs_list_007_pos.ksh
│ │ │ │ └── zfs_list_008_neg.ksh
│ │ │ ├── zpool_iostat
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_iostat_001_neg.ksh
│ │ │ │ ├── zpool_iostat_002_pos.ksh
│ │ │ │ └── zpool_iostat_003_neg.ksh
│ │ │ └── zpool_list
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── zpool_list_001_pos.ksh
│ │ │ │ └── zpool_list_002_neg.ksh
│ │ ├── compression
│ │ │ ├── cleanup.ksh
│ │ │ ├── compress.cfg
│ │ │ ├── compress_001_pos.ksh
│ │ │ ├── compress_002_pos.ksh
│ │ │ ├── compress_003_pos.ksh
│ │ │ ├── compress_004_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── ctime
│ │ │ ├── Makefile.am
│ │ │ ├── cleanup.ksh
│ │ │ ├── ctime_001_pos.c
│ │ │ └── setup.ksh
│ │ ├── delegate
│ │ │ ├── cleanup.ksh
│ │ │ ├── delegate.cfg
│ │ │ ├── delegate_common.kshlib
│ │ │ ├── setup.ksh
│ │ │ ├── zfs_allow_001_pos.ksh
│ │ │ ├── zfs_allow_002_pos.ksh
│ │ │ ├── zfs_allow_003_pos.ksh
│ │ │ ├── zfs_allow_004_pos.ksh
│ │ │ ├── zfs_allow_005_pos.ksh
│ │ │ ├── zfs_allow_006_pos.ksh
│ │ │ ├── zfs_allow_007_pos.ksh
│ │ │ ├── zfs_allow_008_pos.ksh
│ │ │ ├── zfs_allow_009_neg.ksh
│ │ │ ├── zfs_allow_010_pos.ksh
│ │ │ ├── zfs_allow_011_neg.ksh
│ │ │ ├── zfs_allow_012_neg.ksh
│ │ │ ├── zfs_unallow_001_pos.ksh
│ │ │ ├── zfs_unallow_002_pos.ksh
│ │ │ ├── zfs_unallow_003_pos.ksh
│ │ │ ├── zfs_unallow_004_pos.ksh
│ │ │ ├── zfs_unallow_005_pos.ksh
│ │ │ ├── zfs_unallow_006_pos.ksh
│ │ │ ├── zfs_unallow_007_neg.ksh
│ │ │ └── zfs_unallow_008_neg.ksh
│ │ ├── devices
│ │ │ ├── cleanup.ksh
│ │ │ ├── devices.cfg
│ │ │ ├── devices_001_pos.ksh
│ │ │ ├── devices_002_neg.ksh
│ │ │ ├── devices_003_pos.ksh
│ │ │ ├── devices_common.kshlib
│ │ │ └── setup.ksh
│ │ ├── events
│ │ │ ├── events_002_pos.ksh
│ │ │ └── events_common.kshlib
│ │ ├── exec
│ │ │ ├── Makefile.am
│ │ │ ├── cleanup.ksh
│ │ │ ├── exec_001_pos.ksh
│ │ │ ├── exec_002_neg.ksh
│ │ │ ├── mmap_exec.c
│ │ │ └── setup.ksh
│ │ ├── features
│ │ │ ├── async_destroy
│ │ │ │ ├── async_destroy_001_pos.ksh
│ │ │ │ ├── cleanup.ksh
│ │ │ │ └── setup.ksh
│ │ │ └── large_dnode
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── large_dnode_001_pos.ksh
│ │ │ │ ├── large_dnode_002_pos.ksh
│ │ │ │ ├── large_dnode_003_pos.ksh
│ │ │ │ ├── large_dnode_004_neg.ksh
│ │ │ │ ├── large_dnode_005_pos.ksh
│ │ │ │ ├── large_dnode_006_pos.ksh
│ │ │ │ ├── large_dnode_007_neg.ksh
│ │ │ │ ├── large_dnode_008_pos.ksh
│ │ │ │ ├── large_dnode_009_pos.ksh
│ │ │ │ └── setup.ksh
│ │ ├── grow_pool
│ │ │ ├── cleanup.ksh
│ │ │ ├── grow_pool.cfg
│ │ │ ├── grow_pool_001_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── grow_replicas
│ │ │ ├── cleanup.ksh
│ │ │ ├── grow_replicas.cfg
│ │ │ ├── grow_replicas_001_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── history
│ │ │ ├── cleanup.ksh
│ │ │ ├── history.cfg
│ │ │ ├── history_001_pos.ksh
│ │ │ ├── history_002_pos.ksh
│ │ │ ├── history_003_pos.ksh
│ │ │ ├── history_004_pos.ksh
│ │ │ ├── history_005_neg.ksh
│ │ │ ├── history_006_neg.ksh
│ │ │ ├── history_007_pos.ksh
│ │ │ ├── history_008_pos.ksh
│ │ │ ├── history_009_pos.ksh
│ │ │ ├── history_010_pos.ksh
│ │ │ ├── history_common.kshlib
│ │ │ ├── i386.migratedpool.DAT.Z
│ │ │ ├── i386.orig_history.txt
│ │ │ ├── setup.ksh
│ │ │ ├── sparc.migratedpool.DAT.Z
│ │ │ ├── sparc.orig_history.txt
│ │ │ └── zfs-pool-v4.dat.Z
│ │ ├── hkdf
│ │ │ ├── cleanup.ksh
│ │ │ ├── hkdf_test.c
│ │ │ ├── run_hkdf_test.ksh
│ │ │ └── setup.ksh
│ │ ├── inheritance
│ │ │ ├── README.config
│ │ │ ├── README.state
│ │ │ ├── cleanup.ksh
│ │ │ ├── config001.cfg
│ │ │ ├── config002.cfg
│ │ │ ├── config003.cfg
│ │ │ ├── config004.cfg
│ │ │ ├── config005.cfg
│ │ │ ├── config006.cfg
│ │ │ ├── config007.cfg
│ │ │ ├── config008.cfg
│ │ │ ├── config009.cfg
│ │ │ ├── config010.cfg
│ │ │ ├── config011.cfg
│ │ │ ├── config012.cfg
│ │ │ ├── config013.cfg
│ │ │ ├── config014.cfg
│ │ │ ├── config015.cfg
│ │ │ ├── config016.cfg
│ │ │ ├── config017.cfg
│ │ │ ├── config018.cfg
│ │ │ ├── config019.cfg
│ │ │ ├── config020.cfg
│ │ │ ├── config021.cfg
│ │ │ ├── config022.cfg
│ │ │ ├── config023.cfg
│ │ │ ├── config024.cfg
│ │ │ ├── inherit.kshlib
│ │ │ ├── inherit_001_pos.ksh
│ │ │ ├── state001.cfg
│ │ │ ├── state002.cfg
│ │ │ ├── state003.cfg
│ │ │ ├── state004.cfg
│ │ │ ├── state005.cfg
│ │ │ ├── state006.cfg
│ │ │ ├── state007.cfg
│ │ │ ├── state008.cfg
│ │ │ ├── state009.cfg
│ │ │ ├── state010.cfg
│ │ │ ├── state011.cfg
│ │ │ ├── state012.cfg
│ │ │ ├── state013.cfg
│ │ │ ├── state014.cfg
│ │ │ ├── state015.cfg
│ │ │ ├── state016.cfg
│ │ │ ├── state017.cfg
│ │ │ ├── state018.cfg
│ │ │ ├── state019.cfg
│ │ │ ├── state020.cfg
│ │ │ ├── state021.cfg
│ │ │ ├── state022.cfg
│ │ │ ├── state023.cfg
│ │ │ └── state024.cfg
│ │ ├── interop
│ │ │ ├── cleanup.ksh
│ │ │ ├── interop.cfg
│ │ │ ├── interop_001_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── inuse
│ │ │ ├── inuse.cfg
│ │ │ ├── inuse_001_pos.ksh
│ │ │ ├── inuse_002_pos.ksh
│ │ │ ├── inuse_003_pos.ksh
│ │ │ ├── inuse_004_pos.ksh
│ │ │ ├── inuse_005_pos.ksh
│ │ │ ├── inuse_006_pos.ksh
│ │ │ ├── inuse_007_pos.ksh
│ │ │ ├── inuse_008_pos.ksh
│ │ │ ├── inuse_009_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── large_files
│ │ │ ├── cleanup.ksh
│ │ │ ├── large_files_001_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── largest_pool
│ │ │ ├── largest_pool.cfg
│ │ │ └── largest_pool_001_pos.ksh
│ │ ├── link_count
│ │ │ ├── cleanup.ksh
│ │ │ ├── link_count_001.ksh
│ │ │ └── setup.ksh
│ │ ├── mdb
│ │ │ ├── cleanup.ksh
│ │ │ ├── libzfs_input.ksh
│ │ │ ├── mdb_001_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── migration
│ │ │ ├── cleanup.ksh
│ │ │ ├── migration.cfg
│ │ │ ├── migration.kshlib
│ │ │ ├── migration_001_pos.ksh
│ │ │ ├── migration_002_pos.ksh
│ │ │ ├── migration_003_pos.ksh
│ │ │ ├── migration_004_pos.ksh
│ │ │ ├── migration_005_pos.ksh
│ │ │ ├── migration_006_pos.ksh
│ │ │ ├── migration_007_pos.ksh
│ │ │ ├── migration_008_pos.ksh
│ │ │ ├── migration_009_pos.ksh
│ │ │ ├── migration_010_pos.ksh
│ │ │ ├── migration_011_pos.ksh
│ │ │ ├── migration_012_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── mmap
│ │ │ ├── cleanup.ksh
│ │ │ ├── mmap_read_001_pos.ksh
│ │ │ ├── mmap_write_001_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── mmp
│ │ │ ├── Makefile.am
│ │ │ ├── cleanup.ksh
│ │ │ ├── mmp.cfg
│ │ │ ├── mmp.kshlib
│ │ │ ├── mmp_active_import.ksh
│ │ │ ├── mmp_exported_import.ksh
│ │ │ ├── mmp_inactive_import.ksh
│ │ │ ├── mmp_interval.ksh
│ │ │ ├── mmp_on_off.ksh
│ │ │ ├── mmp_on_thread.ksh
│ │ │ ├── mmp_on_uberblocks.ksh
│ │ │ ├── mmp_reset_interval.ksh
│ │ │ ├── mmp_write_uberblocks.ksh
│ │ │ ├── multihost_history.ksh
│ │ │ └── setup.ksh
│ │ ├── mount
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── umount_001.ksh
│ │ │ ├── umount_unlinked_drain.ksh
│ │ │ └── umountall_001.ksh
│ │ ├── mv_files
│ │ │ ├── cleanup.ksh
│ │ │ ├── mv_files.cfg
│ │ │ ├── mv_files_001_pos.ksh
│ │ │ ├── mv_files_002_pos.ksh
│ │ │ ├── mv_files_common.kshlib
│ │ │ └── setup.ksh
│ │ ├── nestedfs
│ │ │ ├── cleanup.ksh
│ │ │ ├── nestedfs_001_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── no_space
│ │ │ ├── cleanup.ksh
│ │ │ ├── enospc.cfg
│ │ │ ├── enospc_001_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── nopwrite
│ │ │ ├── cleanup.ksh
│ │ │ ├── nopwrite.shlib
│ │ │ ├── nopwrite_copies.ksh
│ │ │ ├── nopwrite_mtime.ksh
│ │ │ ├── nopwrite_negative.ksh
│ │ │ ├── nopwrite_promoted_clone.ksh
│ │ │ ├── nopwrite_recsize.ksh
│ │ │ ├── nopwrite_sync.ksh
│ │ │ ├── nopwrite_varying_compression.ksh
│ │ │ ├── nopwrite_volume.ksh
│ │ │ └── setup.ksh
│ │ ├── online_offline
│ │ │ ├── cleanup.ksh
│ │ │ ├── online_offline.cfg
│ │ │ ├── online_offline_001_pos.ksh
│ │ │ ├── online_offline_002_neg.ksh
│ │ │ ├── online_offline_003_neg.ksh
│ │ │ └── setup.ksh
│ │ ├── osx
│ │ │ ├── kextload
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── kextload_001_pos.ksh
│ │ │ │ ├── kextload_002_neg.ksh
│ │ │ │ ├── kexts.kshlib
│ │ │ │ └── setup.ksh
│ │ │ ├── sysctl
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ ├── sysctl.kshlib
│ │ │ │ ├── sysctl_001_pos.ksh
│ │ │ │ └── sysctl_002_pos.ksh
│ │ │ └── version
│ │ │ │ ├── cleanup.ksh
│ │ │ │ ├── setup.ksh
│ │ │ │ └── version_001_pos.ksh
│ │ ├── pool_checkpoint
│ │ │ ├── Makefile
│ │ │ ├── checkpoint_after_rewind.ksh
│ │ │ ├── checkpoint_big_rewind.ksh
│ │ │ ├── checkpoint_capacity.ksh
│ │ │ ├── checkpoint_conf_change.ksh
│ │ │ ├── checkpoint_discard.ksh
│ │ │ ├── checkpoint_discard_busy.ksh
│ │ │ ├── checkpoint_discard_many.ksh
│ │ │ ├── checkpoint_indirect.ksh
│ │ │ ├── checkpoint_invalid.ksh
│ │ │ ├── checkpoint_lun_expsz.ksh
│ │ │ ├── checkpoint_open.ksh
│ │ │ ├── checkpoint_removal.ksh
│ │ │ ├── checkpoint_rewind.ksh
│ │ │ ├── checkpoint_ro_rewind.ksh
│ │ │ ├── checkpoint_sm_scale.ksh
│ │ │ ├── checkpoint_twice.ksh
│ │ │ ├── checkpoint_vdev_add.ksh
│ │ │ ├── checkpoint_zdb.ksh
│ │ │ ├── checkpoint_zhack_feat.ksh
│ │ │ ├── cleanup.ksh
│ │ │ ├── pool_checkpoint.kshlib
│ │ │ └── setup.ksh
│ │ ├── pool_names
│ │ │ ├── pool_names_001_pos.ksh
│ │ │ └── pool_names_002_neg.ksh
│ │ ├── poolversion
│ │ │ ├── cleanup.ksh
│ │ │ ├── poolversion_001_pos.ksh
│ │ │ ├── poolversion_002_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── privilege
│ │ │ ├── cleanup.ksh
│ │ │ ├── privilege_001_pos.ksh
│ │ │ ├── privilege_002_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── quota
│ │ │ ├── cleanup.ksh
│ │ │ ├── quota.cfg
│ │ │ ├── quota.kshlib
│ │ │ ├── quota_001_pos.ksh
│ │ │ ├── quota_002_pos.ksh
│ │ │ ├── quota_003_pos.ksh
│ │ │ ├── quota_004_pos.ksh
│ │ │ ├── quota_005_pos.ksh
│ │ │ ├── quota_006_neg.ksh
│ │ │ └── setup.ksh
│ │ ├── redundancy
│ │ │ ├── cleanup.ksh
│ │ │ ├── redundancy.cfg
│ │ │ ├── redundancy.kshlib
│ │ │ ├── redundancy_001_pos.ksh
│ │ │ ├── redundancy_002_pos.ksh
│ │ │ ├── redundancy_003_pos.ksh
│ │ │ ├── redundancy_004_neg.ksh
│ │ │ └── setup.ksh
│ │ ├── refquota
│ │ │ ├── cleanup.ksh
│ │ │ ├── refquota_001_pos.ksh
│ │ │ ├── refquota_002_pos.ksh
│ │ │ ├── refquota_003_pos.ksh
│ │ │ ├── refquota_004_pos.ksh
│ │ │ ├── refquota_005_pos.ksh
│ │ │ ├── refquota_006_neg.ksh
│ │ │ └── setup.ksh
│ │ ├── refreserv
│ │ │ ├── cleanup.ksh
│ │ │ ├── refreserv.cfg
│ │ │ ├── refreserv_001_pos.ksh
│ │ │ ├── refreserv_002_pos.ksh
│ │ │ ├── refreserv_003_pos.ksh
│ │ │ ├── refreserv_004_pos.ksh
│ │ │ ├── refreserv_005_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── removal
│ │ │ ├── Makefile
│ │ │ ├── cleanup.ksh
│ │ │ ├── removal.kshlib
│ │ │ ├── removal_all_vdev.ksh
│ │ │ ├── removal_check_space.ksh
│ │ │ ├── removal_condense_export.ksh
│ │ │ ├── removal_multiple_indirection.ksh
│ │ │ ├── removal_remap.ksh
│ │ │ ├── removal_remap_deadlists.ksh
│ │ │ ├── removal_reservation.ksh
│ │ │ ├── removal_resume_export.ksh
│ │ │ ├── removal_sanity.ksh
│ │ │ ├── removal_with_add.ksh
│ │ │ ├── removal_with_create_fs.ksh
│ │ │ ├── removal_with_dedup.ksh
│ │ │ ├── removal_with_export.ksh
│ │ │ ├── removal_with_ganging.ksh
│ │ │ ├── removal_with_remap.ksh
│ │ │ ├── removal_with_remove.ksh
│ │ │ ├── removal_with_scrub.ksh
│ │ │ ├── removal_with_send.ksh
│ │ │ ├── removal_with_send_recv.ksh
│ │ │ ├── removal_with_snapshot.ksh
│ │ │ ├── removal_with_write.ksh
│ │ │ ├── removal_with_zdb.ksh
│ │ │ ├── remove_mirror.ksh
│ │ │ ├── remove_mirror_sanity.ksh
│ │ │ └── remove_raidz.ksh
│ │ ├── rename_dirs
│ │ │ ├── cleanup.ksh
│ │ │ ├── rename_dirs_001_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── replacement
│ │ │ ├── cleanup.ksh
│ │ │ ├── replacement.cfg
│ │ │ ├── replacement_001_pos.ksh
│ │ │ ├── replacement_002_pos.ksh
│ │ │ ├── replacement_003_pos.ksh
│ │ │ └── setup.ksh
│ │ ├── reservation
│ │ │ ├── cleanup.ksh
│ │ │ ├── reservation.cfg
│ │ │ ├── reservation.shlib
│ │ │ ├── reservation_001_pos.sh
│ │ │ ├── reservation_002_pos.sh
│ │ │ ├── reservation_003_pos.sh
│ │ │ ├── reservation_004_pos.sh
│ │ │ ├── reservation_005_pos.sh
│ │ │ ├── reservation_006_pos.sh
│ │ │ ├── reservation_007_pos.sh
│ │ │ ├── reservation_008_pos.sh
│ │ │ ├── reservation_009_pos.sh
│ │ │ ├── reservation_010_pos.sh
│ │ │ ├── reservation_011_pos.sh
│ │ │ ├── reservation_012_pos.sh
│ │ │ ├── reservation_013_pos.sh
│ │ │ ├── reservation_014_pos.sh
│ │ │ ├── reservation_015_pos.sh
│ │ │ ├── reservation_016_pos.sh
│ │ │ ├── reservation_017_pos.sh
│ │ │ ├── reservation_018_pos.sh
│ │ │ ├── reservation_019_pos.sh
│ │ │ ├── reservation_020_pos.sh
│ │ │ ├── reservation_021_neg.sh
│ │ │ ├── reservation_022_pos.sh
│ │ │ └── setup.ksh
│ │ ├── rootpool
│ │ │ ├── cleanup.ksh
│ │ │ ├── rootpool_002_neg.ksh
│ │ │ ├── rootpool_003_neg.ksh
│ │ │ ├── rootpool_007_neg.ksh
│ │ │ └── setup.ksh
│ │ ├── rsend
│ │ │ ├── cleanup.ksh
│ │ │ ├── rsend.cfg
│ │ │ ├── rsend.kshlib
│ │ │ ├── rsend_001_pos.ksh
│ │ │ ├── rsend_002_pos.ksh
│ │ │ ├── rsend_003_pos.ksh
│ │ │ ├── rsend_004_pos.ksh
│ │ │ ├── rsend_005_pos.ksh
│ │ │ ├── rsend_006_pos.ksh
│ │ │ ├── rsend_007_pos.ksh
│ │ │ ├── rsend_008_pos.ksh
│ │ │ ├── rsend_009_pos.ksh
│ │ │ ├── rsend_010_pos.ksh
│ │ │ ├── rsend_011_pos.ksh
│ │ │ ├── rsend_012_pos.ksh
│ │ │ ├── rsend_013_pos.ksh
│ │ │ ├── rsend_014_pos.ksh
│ │ │ ├── rsend_020_pos.ksh
│ │ │ ├── rsend_021_pos.ksh
│ │ │ ├── rsend_022_pos.ksh
│ │ │ ├── rsend_024_pos.ksh
│ │ │ ├── send-cD.ksh
│ │ │ ├── send-c_mixed_compression.ksh
│ │ │ ├── send-c_recv_dedup.ksh
│ │ │ ├── send-c_resume.ksh
│ │ │ ├── send-wDR_encrypted_zvol.ksh
│ │ │ ├── send_encrypted_files.ksh
│ │ │ ├── send_encrypted_hierarchy.ksh
│ │ │ ├── send_encrypted_truncated_files.ksh
│ │ │ ├── send_freeobjects.ksh
│ │ │ ├── send_mixed_raw.ksh
│ │ │ ├── send_realloc_encrypted_files.ksh
│ │ │ ├── send_realloc_files.ksh
│ │ │ ├── setup.ksh
│ │ │ └── tests
│ │ ├── scrub_mirror
│ │ │ ├── cleanup.ksh
│ │ │ ├── default.cfg
│ │ │ ├── scrub_mirror_001_pos.ksh
│ │ │ ├── scrub_mirror_002_pos.ksh
│ │ │ ├── scrub_mirror_003_pos.ksh
│ │ │ ├── scrub_mirror_004_pos.ksh
│ │ │ ├── scrub_mirror_common.kshlib
│ │ │ └── setup.ksh
│ │ ├── slog
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── slog.cfg
│ │ │ ├── slog.kshlib
│ │ │ ├── slog_001_pos.ksh
│ │ │ ├── slog_002_pos.ksh
│ │ │ ├── slog_003_pos.ksh
│ │ │ ├── slog_004_pos.ksh
│ │ │ ├── slog_005_pos.ksh
│ │ │ ├── slog_006_pos.ksh
│ │ │ ├── slog_007_pos.ksh
│ │ │ ├── slog_008_neg.ksh
│ │ │ ├── slog_009_neg.ksh
│ │ │ ├── slog_010_neg.ksh
│ │ │ ├── slog_011_neg.ksh
│ │ │ ├── slog_012_neg.ksh
│ │ │ ├── slog_013_pos.ksh
│ │ │ ├── slog_014_pos.ksh
│ │ │ └── slog_015_neg.ksh
│ │ ├── snapshot
│ │ │ ├── cleanup.ksh
│ │ │ ├── clone_001_pos.ksh
│ │ │ ├── rollback_001_pos.ksh
│ │ │ ├── rollback_002_pos.ksh
│ │ │ ├── rollback_003_pos.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── snapshot.cfg
│ │ │ ├── snapshot_001_pos.ksh
│ │ │ ├── snapshot_002_pos.ksh
│ │ │ ├── snapshot_003_pos.ksh
│ │ │ ├── snapshot_004_pos.ksh
│ │ │ ├── snapshot_005_pos.ksh
│ │ │ ├── snapshot_006_pos.ksh
│ │ │ ├── snapshot_007_pos.ksh
│ │ │ ├── snapshot_008_pos.ksh
│ │ │ ├── snapshot_009_pos.ksh
│ │ │ ├── snapshot_010_pos.ksh
│ │ │ ├── snapshot_011_pos.ksh
│ │ │ ├── snapshot_012_pos.ksh
│ │ │ ├── snapshot_013_pos.ksh
│ │ │ ├── snapshot_014_pos.ksh
│ │ │ ├── snapshot_015_pos.ksh
│ │ │ ├── snapshot_016_pos.ksh
│ │ │ └── snapshot_017_pos.ksh
│ │ ├── snapused
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── snapused.kshlib
│ │ │ ├── snapused_001_pos.ksh
│ │ │ ├── snapused_002_pos.ksh
│ │ │ ├── snapused_003_pos.ksh
│ │ │ ├── snapused_004_pos.ksh
│ │ │ └── snapused_005_pos.ksh
│ │ ├── sparse
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── sparse.cfg
│ │ │ └── sparse_001_pos.ksh
│ │ ├── threadsappend
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── threadsappend.c
│ │ │ └── threadsappend_001_pos.ksh
│ │ ├── trim
│ │ │ ├── Makefile.am
│ │ │ ├── autotrim_config.ksh
│ │ │ ├── autotrim_integrity.ksh
│ │ │ ├── autotrim_trim_integrity.ksh
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── trim.cfg
│ │ │ ├── trim.kshlib
│ │ │ ├── trim_config.ksh
│ │ │ └── trim_integrity.ksh
│ │ ├── truncate
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── truncate.cfg
│ │ │ ├── truncate_001_pos.ksh
│ │ │ └── truncate_002_pos.ksh
│ │ ├── upgrade
│ │ │ └── upgrade_userobj_001_pos.ksh
│ │ ├── userquota
│ │ │ ├── cleanup.ksh
│ │ │ ├── groupspace_001_pos.ksh
│ │ │ ├── groupspace_002_pos.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── userquota.cfg
│ │ │ ├── userquota_001_pos.ksh
│ │ │ ├── userquota_002_pos.ksh
│ │ │ ├── userquota_003_pos.ksh
│ │ │ ├── userquota_004_pos.ksh
│ │ │ ├── userquota_005_neg.ksh
│ │ │ ├── userquota_006_pos.ksh
│ │ │ ├── userquota_007_pos.ksh
│ │ │ ├── userquota_008_pos.ksh
│ │ │ ├── userquota_009_pos.ksh
│ │ │ ├── userquota_010_pos.ksh
│ │ │ ├── userquota_011_pos.ksh
│ │ │ ├── userquota_012_neg.ksh
│ │ │ ├── userquota_common.kshlib
│ │ │ ├── userspace_001_pos.ksh
│ │ │ └── userspace_002_pos.ksh
│ │ ├── utils_test
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── utils_test.cfg
│ │ │ ├── utils_test.kshlib
│ │ │ ├── utils_test_001_pos.ksh
│ │ │ ├── utils_test_002_pos.ksh
│ │ │ ├── utils_test_003_pos.ksh
│ │ │ ├── utils_test_004_pos.ksh
│ │ │ ├── utils_test_005_pos.ksh
│ │ │ ├── utils_test_006_pos.ksh
│ │ │ ├── utils_test_007_pos.ksh
│ │ │ ├── utils_test_008_pos.ksh
│ │ │ └── utils_test_009_pos.ksh
│ │ ├── write_dirs
│ │ │ ├── cleanup.ksh
│ │ │ ├── default.cfg
│ │ │ ├── setup.ksh
│ │ │ ├── write_dirs_001_pos.ksh
│ │ │ └── write_dirs_002_pos.ksh
│ │ ├── xattr
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── xattr_001_pos.ksh
│ │ │ ├── xattr_002_neg.ksh
│ │ │ ├── xattr_003_neg.ksh
│ │ │ ├── xattr_004_pos.ksh
│ │ │ ├── xattr_005_pos.ksh
│ │ │ ├── xattr_006_pos.ksh
│ │ │ ├── xattr_007_neg.ksh
│ │ │ ├── xattr_008_pos.ksh
│ │ │ ├── xattr_009_neg.ksh
│ │ │ ├── xattr_010_neg.ksh
│ │ │ ├── xattr_011_pos.ksh
│ │ │ ├── xattr_012_pos.ksh
│ │ │ ├── xattr_013_pos.ksh
│ │ │ └── xattr_common.kshlib
│ │ ├── xattr=sa
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── xattr_001_pos.ksh
│ │ │ ├── xattr_002_neg.ksh
│ │ │ ├── xattr_003_neg.ksh
│ │ │ ├── xattr_004_pos.ksh
│ │ │ ├── xattr_005_pos.ksh
│ │ │ ├── xattr_006_pos.ksh
│ │ │ ├── xattr_007_neg.ksh
│ │ │ ├── xattr_008_pos.ksh
│ │ │ ├── xattr_009_neg.ksh
│ │ │ ├── xattr_010_neg.ksh
│ │ │ ├── xattr_011_pos.ksh
│ │ │ ├── xattr_012_pos.ksh
│ │ │ ├── xattr_013_pos.ksh
│ │ │ └── xattr_common.kshlib
│ │ └── zvol
│ │ │ ├── zvol.cfg
│ │ │ ├── zvol_ENOSPC
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ └── zvol_ENOSPC_001_pos.ksh
│ │ │ ├── zvol_cli
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── zvol_cli_001_pos.ksh
│ │ │ ├── zvol_cli_002_pos.ksh
│ │ │ └── zvol_cli_003_neg.ksh
│ │ │ ├── zvol_common.shlib
│ │ │ ├── zvol_misc
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── zvol_misc_001_neg.ksh
│ │ │ ├── zvol_misc_002_pos.ksh
│ │ │ ├── zvol_misc_003_neg.ksh
│ │ │ ├── zvol_misc_004_pos.ksh
│ │ │ ├── zvol_misc_005_neg.ksh
│ │ │ ├── zvol_misc_006_pos.ksh
│ │ │ └── zvol_misc_hierarchy.ksh
│ │ │ └── zvol_swap
│ │ │ ├── cleanup.ksh
│ │ │ ├── setup.ksh
│ │ │ ├── zvol_swap.cfg
│ │ │ ├── zvol_swap_001_pos.ksh
│ │ │ ├── zvol_swap_002_pos.ksh
│ │ │ ├── zvol_swap_003_pos.ksh
│ │ │ ├── zvol_swap_004_pos.ksh
│ │ │ ├── zvol_swap_005_pos.ksh
│ │ │ └── zvol_swap_006_pos.ksh
│ │ ├── longevity
│ │ ├── Makefile
│ │ └── slop_space_test.ksh
│ │ ├── perf
│ │ └── regression
│ │ │ ├── random_reads.ksh
│ │ │ ├── random_readwrite.ksh
│ │ │ ├── random_writes.ksh
│ │ │ ├── sequential_reads.ksh
│ │ │ └── sequential_writes.ksh
│ │ └── stress
│ │ └── races
│ │ ├── Makefile
│ │ └── remove_file_while_remap.ksh
│ └── zfs_config.h
├── appveyor.yml
├── cmake
└── FindWdk.cmake
└── zfsinstaller
├── CMakeLists.txt
├── HowToDebug.txt
├── OPENSOLARIS.LICENSE.txt
├── README.md
├── ZFSInstall-debug.iss
├── ZFSInstall-release.iss
├── ZFSinlogo.ico
├── environment.iss
├── large.bmp
├── openzfs-small.bmp
├── readme.txt
├── small.bmp
├── zfsinstaller.cpp
├── zfsinstaller.h
├── zfsinstaller.vcxproj
└── zfsinstaller.vcxproj.filters
/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.13)
2 | project(ZFSin)
3 |
4 | include(GNUInstallDirs)
5 |
6 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
7 | find_package(WDK REQUIRED)
8 | option(BUILD_SHARED_LIBS "Build Shared Libraries" OFF)
9 |
10 | add_subdirectory(ZFSin)
11 | add_subdirectory(zfsinstaller)
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | The [OpenZFS Code of Conduct](http://www.open-zfs.org/wiki/Code_of_Conduct)
2 | applies to spaces associated with the OpenZFS on OsX project, including GitHub.
3 |
--------------------------------------------------------------------------------
/OpenZFSonWindows/OpenZFSonWindows.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {8E41214B-6785-4CFE-B992-037D68949A14}
6 | inf;inv;inx;mof;mc;
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ZFSin/Wpp.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | void
5 | ZFSWppInit(PDRIVER_OBJECT pDriverObject, PUNICODE_STRING pRegistryPath)
6 | {
7 | WPP_INIT_TRACING(pDriverObject, pRegistryPath);
8 | }
9 |
10 | void
11 | ZFSWppCleanup(PDRIVER_OBJECT pDriverObject)
12 | {
13 | WPP_CLEANUP(pDriverObject);
14 | }
--------------------------------------------------------------------------------
/ZFSin/spl/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(module/spl)
--------------------------------------------------------------------------------
/ZFSin/spl/include/fs/fs_subr.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_FS_FS_SUBR_H
3 | #define _SPL_FS_FS_SUBR_H
4 |
5 | #endif /* SPL_FS_FS_SUBR_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/osx/atomic.h:
--------------------------------------------------------------------------------
1 | #ifndef OSX_ATOMIC_H
2 | #define OSX_ATOMIC_H
3 |
4 | #include
5 | //#include
6 | //#include
7 | //#include
8 |
9 |
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/osx/sched.h:
--------------------------------------------------------------------------------
1 | #ifndef OSX_SCHED_H
2 | #define OSX_SCHED_H
3 |
4 | #include
5 |
6 |
7 | #if 0
8 | typedef void (task_func_t)(void *);
9 |
10 | typedef struct task {
11 | struct task *task_next;
12 | struct task *task_prev;
13 | task_func_t *task_func;
14 | void *task_arg;
15 | } task_t;
16 |
17 | #define TASKQ_ACTIVE 0x00010000
18 |
19 | struct taskq {
20 | kmutex_t tq_lock;
21 | krwlock_t tq_threadlock;
22 | kcondvar_t tq_dispatch_cv;
23 | kcondvar_t tq_wait_cv;
24 | thread_t *tq_threadlist;
25 | int tq_flags;
26 | int tq_active;
27 | int tq_nthreads;
28 | int tq_nalloc;
29 | int tq_minalloc;
30 | int tq_maxalloc;
31 | task_t *tq_freelist;
32 | task_t tq_task;
33 | };
34 |
35 | #endif
36 |
37 | #endif
38 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/rpc/types.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_RPC_TYPES_H
3 | #define _SPL_RPC_TYPES_H
4 |
5 | typedef int bool_t;
6 |
7 | #endif /* SPL_RPC_TYPES_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sharefs/share.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_SHARE_H
3 | #define _SPL_SHARE_H
4 |
5 | #endif /* SPL_SHARE_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/slab.h:
--------------------------------------------------------------------------------
1 | #ifndef _SLAB_H_
2 | #define _SLAB_H_
3 |
4 |
5 | #endif
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/spl/events.h:
--------------------------------------------------------------------------------
1 | #ifndef SPL_EVENTS_H
2 | #define SPL_EVENTS_H
3 |
4 | enum spl_notification_class {
5 | SPL_CLASS_NOTIFY,
6 | };
7 |
8 | enum spl_notification_subclass {
9 | SPL_SUBCLASS_INFO,
10 | };
11 |
12 | enum spl_notification_event {
13 | SPL_EVENT_ZFS_LOAD,
14 | SPL_EVENT_ZFS_UNLOAD,
15 | SPL_EVENT_ZPOOL_IMPORT,
16 | SPL_EVENT_ZPOOL_EXPORT,
17 | };
18 |
19 |
20 |
21 | int spl_notification_init(void);
22 | int spl_notification_fini(void);
23 | int spl_notification_send(int event_class, int event_subclass, int event_code);
24 |
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/strings.h:
--------------------------------------------------------------------------------
1 | #ifndef _SPL_STRINGS_H
2 | #define _SPL_STRINGS_H
3 |
4 | #endif /* SPL_STRINGS_H */
5 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/acl_impl.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_ACL_IMPL_H
3 | #define _SPL_ACL_IMPL_H
4 |
5 | #endif /* _SPL_ACL_IMPL_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/attr.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_ATTR_H
3 | #define _SPL_ATTR_H
4 |
5 | //#include_next
6 |
7 | #endif /* SPL_ATTR_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/bitmap.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_BITMAP_H
3 | #define _SPL_BITMAP_H
4 |
5 | #endif /* SPL_BITMAP_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/bootconf.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_BOOTCONF_H
3 | #define _SPL_BOOTCONF_H
4 |
5 | #endif /* SPL_BOOTCONF_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/bootprops.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_BOOTPROPS_H
3 | #define _SPL_BOOTPROPS_H
4 |
5 | #endif /* SPL_BOOTPROPS_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/buf.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_BUF_H
3 | #define _SPL_BUF_H
4 |
5 | #endif /* SPL_BUF_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/compress.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_COMPRESS_H
3 | #define _SPL_COMPRESS_H
4 |
5 | #endif /* SPL_COMPRESS_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/condvar.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_CONDVAR_H
3 | #define _SPL_CONDVAR_H
4 |
5 | #include
6 | //#include
7 | #include
8 | #include
9 | #include
10 |
11 | #endif /* _SPL_CONDVAR_H */
12 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/conf.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_CONF_H
3 | #define _SPL_CONF_H
4 |
5 | //#include_next
6 |
7 | #endif /* SPL_CONF_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/console.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_CONSOLE_H
3 | #define _SPL_CONSOLE_H
4 |
5 | #endif /* _SPL_CONSOLE_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/cpupart.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_CPUPART_H
3 | #define _SPL_CPUPART_H
4 |
5 | #endif /* SPL_CPUPART_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/cpuvar.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_CPUVAR_H
3 | #define _SPL_CPUVAR_H
4 |
5 | #endif /* SPL_CPUVAR_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/crc32.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_CRC32_H
3 | #define _SPL_CRC32_H
4 |
5 | #endif /* SPL_CRC32_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/ctype.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_CTYPE_H
3 | #define _SPL_CTYPE_H
4 |
5 | //#include_next
6 |
7 | #endif /* SPL_CTYPE_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/ddi.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_DDI_H
3 | #define _SPL_DDI_H
4 |
5 | #endif /* SPL_DDI_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/dirent.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_DIRENT_H
3 | #define _SPL_DIRENT_H
4 |
5 | //#include_next
6 |
7 | #define MAXNAMLEN 255
8 |
9 | /*
10 | * File types
11 | */
12 | #define DT_UNKNOWN 0
13 | #define DT_FIFO 1
14 | #define DT_CHR 2
15 | #define DT_DIR 4
16 | #define DT_BLK 6
17 | #define DT_REG 8
18 | #define DT_LNK 10
19 | #define DT_SOCK 12
20 | #define DT_WHT 14
21 |
22 | struct dirent {
23 | uint64_t d_ino; /* file number of entry */
24 | uint64_t d_seekoff; /* seek offset (optional, used by servers) */
25 | uint16_t d_reclen; /* length of this record */
26 | uint16_t d_namlen; /* length of string in d_name */
27 | uint8_t d_type; /* file type, see below */
28 | char d_name[MAXPATHLEN]; /* entry name (up to MAXPATHLEN bytes) */
29 | };
30 |
31 | #define IFTODT(mode) (((mode) & 0170000) >> 12)
32 | #define DTTOIF(dirtype) ((dirtype) << 12)
33 |
34 |
35 | #endif /* SPL_DIRENT_H */
36 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/disp.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_DISP_H
3 | #define _SPL_DISP_H
4 |
5 | #endif /* SPL_DISP_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/dkio.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_DKIO_H
3 | #define _SPL_DKIO_H
4 |
5 | struct dk_callback {
6 | void (*dkc_callback)(void *dkc_cookie, int error);
7 | void *dkc_cookie;
8 | int dkc_flag;
9 | };
10 |
11 | #define DKIOC (0x04 << 8)
12 | #define DKIOCFLUSHWRITECACHE (DKIOC | 34)
13 | #define DKIOCTRIM (DKIOC | 35)
14 |
15 | #endif /* _SPL_DKIO_H */
16 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/dklabel.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_DKLABEL_H
3 | #define _SPL_DKLABEL_H
4 |
5 | #endif /* _SPL_DKLABEL_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/dnlc.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_DNLC_H
3 | #define _SPL_DNLC_H
4 |
5 | /*
6 | * Reduce the dcache and icache then reap the free'd slabs. Note the
7 | * interface takes a reclaim percentage but we don't have easy access to
8 | * the total number of entries to calculate the reclaim count. However,
9 | * in practice this doesn't need to be even close to correct. We simply
10 | * need to reclaim some useful fraction of the cache. The caller can
11 | * determine if more needs to be done.
12 | */
13 | static inline void
14 | dnlc_reduce_cache(void *reduce_percent)
15 | {
16 | #if 0
17 | int nr = (uintptr_t)reduce_percent * 10000;
18 | shrink_dcache_memory(nr, GFP_KERNEL);
19 | shrink_icache_memory(nr, GFP_KERNEL);
20 | kmem_reap();
21 | #endif
22 | }
23 |
24 | #endif /* SPL_DNLC_H */
25 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/dumphdr.h:
--------------------------------------------------------------------------------
1 | #ifndef _SPL_DUMPHDR_H
2 | #define _SPL_DUMPHDR_H
3 |
4 | #endif /* SPL_DUMPHDR_H */
5 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/efi_partition.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_EFI_PARTITION_H
3 | #define _SPL_EFI_PARTITION_H
4 |
5 | #endif /* SPL_EFI_PARTITION_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/extdirent.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_EXTDIRENT_H
3 | #define _SPL_EXTDIRENT_H
4 |
5 | #define ED_CASE_CONFLICT 0x10
6 |
7 | #endif /* _SPL_EXTDIRENT_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/file.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_FILE_H
3 | #define _SPL_FILE_H
4 |
5 | #define FIGNORECASE 0x00080000
6 | #define FKIOCTL 0x80000000
7 | #define FCOPYSTR 0x40000000
8 |
9 | #include
10 |
11 | struct spl_fileproc {
12 | void *f_vnode; // this points to the "fd" so we can look it up.
13 | list_node_t f_next; /* next zfsdev_state_t link */
14 | uint64_t f_fd;
15 | uint64_t f_offset;
16 | void *f_proc;
17 | void *f_fp;
18 | int f_writes;
19 | uint64_t f_file; // Minor of the file
20 | };
21 |
22 | //typedef struct spl_fileproc file_t;
23 | #define file_t struct spl_fileproc
24 |
25 | void *getf(uint64_t fd);
26 | void releasef(uint64_t fd);
27 | /* O3X extended - get vnode from previos getf() */
28 | struct vnode *getf_vnode(void *fp);
29 |
30 | #endif /* SPL_FILE_H */
31 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/fs/swapnode.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_SWAPNODE_H
3 | #define _SPL_SWAPNODE_H
4 |
5 | #endif /* SPL_SWAPNODE_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/idmap.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_IDMAP_H
3 | #define _SPL_IDMAP_H
4 |
5 | #define IDMAP_WK_CREATOR_OWNER_UID 2147483648U
6 |
7 | #endif /* SPL_IDMAP_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/int_limits.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_INT_LIMITS_H
3 | #define _SPL_INT_LIMITS_H
4 |
5 | #endif /* SPL_INT_LIMITS_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/int_types.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_INT_TYPES_H
3 | #define _SPL_INT_TYPES_H
4 |
5 | #include
6 |
7 | #endif /* SPL_INT_TYPES_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/inttypes.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_INTTYPES_H
3 | #define _SPL_INTTYPES_H
4 |
5 | #endif /* SPL_INTTYPES_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/kidmap.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_KIDMAP_H
3 | #define _SPL_KIDMAP_H
4 |
5 | #include
6 |
7 | #endif /* SPL_KIDMAP_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/mkdev.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_MKDEV_H
3 | #define _SPL_MKDEV_H
4 |
5 | #endif /* SPL_MKDEV_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/mntent.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_MNTENT_H
3 | #define _SPL_MNTENT_H
4 |
5 | #endif /* SPL_MNTENT_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/mode.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_MODE_H
3 | #define _SPL_MODE_H
4 |
5 | #endif /* SPL_MODE_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/note.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_NOTE_H
3 | #define _SPL_NOTE_H
4 |
5 | #endif /* SPL_NOTE_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/open.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_OPEN_H
3 | #define _SPL_OPEN_H
4 |
5 | #endif /* SPL_OPEN_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/param.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_PARAM_H
3 | #define _SPL_PARAM_H
4 |
5 | //#include_next
6 | //#include
7 |
8 | /* Pages to bytes and back */
9 | #define ptob(pages) (pages << PAGE_SHIFT)
10 | #define btop(bytes) (bytes >> PAGE_SHIFT)
11 | #ifndef howmany
12 | #define howmany(x, y) ((((x) % (y)) == 0) ? ((x) / (y)) : (((x) / (y)) + 1))
13 | #endif
14 |
15 | #define MAXUID UINT32_MAX
16 |
17 | #endif /* SPL_PARAM_H */
18 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/pathname.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_PATHNAME_H
3 | #define _SPL_PATHNAME_H
4 |
5 | typedef struct pathname {
6 | char *pn_buf; /* underlying storage */
7 | char *pn_path; /* remaining pathname */
8 | size_t pn_pathlen; /* remaining length */
9 | size_t pn_bufsize; /* total size of pn_buf */
10 | } pathname_t;
11 |
12 | #endif /* SPL_PATHNAME_H */
13 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/pool.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_POOL_H
3 | #define _SPL_POOL_H
4 |
5 | #include
6 |
7 | #endif /* SPL_POOL_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/priv_impl.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_PRIV_IMPL_H
3 | #define _SPL_PRIV_IMPL_H
4 |
5 | #endif /* _SPL_PRIV_IMPL_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/proc.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_PROC_H
3 | #define _SPL_PROC_H
4 |
5 | //#include
6 | //#include_next
7 | //#include
8 | typedef struct proc { void *something; } proc_t;
9 | extern proc_t p0; /* process 0 */
10 | #define current_proc PsGetCurrentProcess
11 |
12 | #define current_proc PsGetCurrentProcess
13 |
14 | #endif /* SPL_PROC_H */
15 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/processor.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_PROCESSOR_H
3 | #define _SPL_PROCESSOR_H
4 |
5 | #include
6 |
7 | extern uint32_t getcpuid();
8 |
9 | typedef int processorid_t;
10 |
11 | #endif /* _SPL_PROCESSOR_H */
12 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/pset.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_PSET_H
3 | #define _SPL_PSET_H
4 |
5 | typedef int psetid_t;
6 |
7 | /* special processor set id's */
8 | #define PS_NONE -1
9 | #define PS_QUERY -2
10 | #define PS_MYID -3
11 | #define PS_SOFT -4
12 | #define PS_HARD -5
13 | #define PS_QUERY_TYPE -6
14 |
15 | #endif /* SPL_PSET_H */
16 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/refstr.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_REFSTR_H
3 | #define _SPL_REFSTR_H
4 |
5 | #endif /* SPL_REFSTR_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/resource.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_RESOURCE_H
3 | #define _SPL_RESOURCE_H
4 |
5 | //#include_next
6 |
7 | #endif /* SPL_RESOURCE_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/sdt.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_SDT_H
3 | #define _SPL_SDT_H
4 |
5 | #endif /* SPL_SDT_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/sysdc.h:
--------------------------------------------------------------------------------
1 | #ifndef _SPL_SYSDC_H
2 | #define _SPL_SYSDC_H
3 |
4 | #endif /* SPL_SYSDC_H */
5 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/systeminfo.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_SYSTEMINFO_H
3 | #define _SPL_SYSTEMINFO_H
4 |
5 | #define HW_INVALID_HOSTID 0xFFFFFFFF /* an invalid hostid */
6 | #define HW_HOSTID_LEN 11 /* minimum buffer size needed */
7 | /* to hold a decimal or hex */
8 | /* hostid string */
9 |
10 | const char *spl_panicstr(void);
11 | int spl_system_inshutdown(void);
12 |
13 |
14 | #endif /* SPL_SYSTEMINFO_H */
15 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/t_lock.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_T_LOCK_H
3 | #define _SPL_T_LOCK_H
4 |
5 | #include
6 | #include
7 | #include
8 | #include
9 |
10 | #endif /* SPL_T_LOCK_H */
11 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/types32.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_TYPES32_H
3 | #define _SPL_TYPES32_H
4 |
5 | #include
6 | #include
7 |
8 | typedef uint32_t caddr32_t;
9 | typedef int32_t daddr32_t;
10 | typedef int32_t time32_t;
11 | typedef uint32_t size32_t;
12 |
13 | #endif /* _SPL_TYPES32_H */
14 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/ubc.h:
--------------------------------------------------------------------------------
1 | #ifndef UBC_H_INCLUDED
2 | #define UBC_H_INCLUDED
3 |
4 |
5 | #endif
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/unistd.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_UNISTD_H
3 | #define _SPL_UNISTD_H
4 |
5 | //#include_next
6 |
7 | #endif /* SPL_UNISTD_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/va_list.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_VA_LIST_H
3 | #define _SPL_VA_LIST_H
4 |
5 | #endif /* SPL_VA_LIST_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/varargs.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_VARARGS_H
3 | #define _SPL_VARARGS_H
4 |
5 | #define __va_list va_list
6 |
7 | #endif /* SPL_VARARGS_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/vfs_opreg.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_OPREG_H
3 | #define _SPL_OPREG_H
4 |
5 | #endif /* SPL_OPREG_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/vmsystm.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_VMSYSTM_H
3 | #define _SPL_VMSYSTM_H
4 |
5 | #include
6 |
7 | #endif /* SPL_VMSYSTM_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/w32_types.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/spl/include/sys/w32_types.h
--------------------------------------------------------------------------------
/ZFSin/spl/include/sys/zone.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_ZONE_H
3 | #define _SPL_ZONE_H
4 |
5 | #include
6 |
7 | #define zone_dataset_visible(x, y) (1)
8 | #define INGLOBALZONE(z) (1)
9 |
10 | static inline unsigned long long getzoneid(void) { return 0; }
11 | #endif /* SPL_ZONE_H */
12 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/unistd.h:
--------------------------------------------------------------------------------
1 | #ifndef _SPL_UNISTD_H
2 | #define _SPL_UNISTD_H
3 |
4 | #endif /* SPL_UNISTD_H */
5 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/util/qsort.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_QSORT_H
3 | #define _SPL_QSORT_H
4 |
5 | //#include
6 | //extern void qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *));
7 |
8 | //#define qsort(base, num, size, cmp) sort(base, num, size, cmp, NULL)
9 |
10 | #endif /* SPL_QSORT_H */
11 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/util/sscanf.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_UTIL_SSCANF_H
3 | #define _SPL_UTIL_SSCANF_H
4 |
5 | #endif /* SPL_UTIL_SSCAN_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/vm/anon.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_VM_ANON_H
3 | #define _SPL_VM_ANON_H
4 |
5 | #endif /* SPL_VM_ANON_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/vm/pvn.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_VM_PVN_H
3 | #define _SPL_VM_PVN_H
4 |
5 | #endif /* SPL_VM_PVN_H */
6 |
--------------------------------------------------------------------------------
/ZFSin/spl/include/vm/seg_kmem.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_SEG_KMEM_H
3 | #define _SPL_SEG_KMEM_H
4 |
5 | #include
6 |
7 | #endif /* SPL_SEG_KMEM_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/module/spl/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | wdk_add_library(splkern
2 | spl-atomic.c
3 | spl-avl.c
4 | spl-condvar.c
5 | spl-cred.c
6 | spl-ddi.c
7 | spl-debug.c
8 | spl-err.c
9 | spl-kmem.c
10 | spl-kstat.c
11 | spl-list.c
12 | spl-md5.c
13 | spl-mount.c
14 | spl-mutex.c
15 | spl-policy.c
16 | spl-proc.c
17 | spl-processor.c
18 | spl-rwlock.c
19 | spl-seg_kmem.c
20 | spl-taskq.c
21 | spl-thread.c
22 | spl-time.c
23 | spl-tsd.c
24 | spl-uio.c
25 | spl-vmem.c
26 | spl-vnode.c
27 | spl-windows.c
28 | spl-xdr.c
29 | )
30 |
31 | target_include_directories(splkern BEFORE PUBLIC ../../include "${ZFSin_ROOT_DIR}")
--------------------------------------------------------------------------------
/ZFSin/spl/module/spl/spl-debug.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 |
6 |
7 | /* Debug log support enabled */
8 |
--------------------------------------------------------------------------------
/ZFSin/spl/module/spl/spl-proc.c:
--------------------------------------------------------------------------------
1 |
2 | #include
3 | #include
4 | #include
5 |
6 | proc_t p0 = {NULL}; /* process 0 */
7 |
--------------------------------------------------------------------------------
/ZFSin/spl/module/spl/spl-slab.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/spl/module/spl/spl-slab.c
--------------------------------------------------------------------------------
/ZFSin/zfs/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(lib)
2 | add_subdirectory(module)
3 | add_subdirectory(cmd)
--------------------------------------------------------------------------------
/ZFSin/zfs/cmd/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(kstat)
2 | add_subdirectory(zdb)
3 | add_subdirectory(zfs)
4 | add_subdirectory(zpool)
5 | add_subdirectory(zstreamdump)
--------------------------------------------------------------------------------
/ZFSin/zfs/cmd/kstat/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | um_add_executable(kstat kstat.c)
2 | target_link_libraries(kstat PRIVATE libkstat)
3 | install(TARGETS kstat RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
4 | install(FILES $
5 | DESTINATION "${CMAKE_INSTALL_BINDIR}"
6 | OPTIONAL
7 | )
--------------------------------------------------------------------------------
/ZFSin/zfs/cmd/zdb/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | um_add_executable(zdb
2 | zdb.c
3 | zdb.h
4 | zdb_il.c
5 | )
6 | target_link_libraries(zdb PRIVATE
7 | libnvpair
8 | libuutil
9 | libzfs
10 | libzfs_core
11 | libzpool
12 | )
13 | install(TARGETS zdb RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
14 | install(FILES $
15 | DESTINATION "${CMAKE_INSTALL_BINDIR}"
16 | OPTIONAL
17 | )
--------------------------------------------------------------------------------
/ZFSin/zfs/cmd/zfs/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | um_add_executable(zfs
2 | zfs_iter.c
3 | zfs_main.c
4 | zfs_iter.h
5 | zfs_util.h
6 | )
7 | target_link_libraries(zfs PRIVATE
8 | libnvpair
9 | libuutil
10 | libzfs
11 | libzfs_core
12 | libzpool
13 | )
14 | install(TARGETS zfs RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
15 | install(FILES $
16 | DESTINATION "${CMAKE_INSTALL_BINDIR}"
17 | OPTIONAL
18 | )
--------------------------------------------------------------------------------
/ZFSin/zfs/cmd/zfs/zfs_osx.h:
--------------------------------------------------------------------------------
1 |
2 | #ifdef __cplusplus
3 | extern "C" {
4 | #endif
5 |
6 |
7 | extern void libzfs_refresh_finder(char *);
8 |
9 |
10 | #ifdef __cplusplus
11 | };
12 | #endif
13 |
--------------------------------------------------------------------------------
/ZFSin/zfs/cmd/zpool/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | um_add_executable(zpool
2 | zpool_iter.c
3 | zpool_main.c
4 | zpool_util.c
5 | zpool_vdev.c
6 | zpool_util.h
7 | )
8 | target_link_libraries(zpool PRIVATE
9 | libnvpair
10 | libuutil
11 | libuuid
12 | libzfs
13 | libzfs_core
14 | libzpool
15 | )
16 | install(TARGETS zpool RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
17 | install(FILES $
18 | DESTINATION "${CMAKE_INSTALL_BINDIR}"
19 | OPTIONAL
20 | )
--------------------------------------------------------------------------------
/ZFSin/zfs/cmd/zstreamdump/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | um_add_executable(zstreamdump
2 | zstreamdump.c
3 | )
4 | target_link_libraries(zstreamdump PRIVATE
5 | libnvpair
6 | libuutil
7 | libuuid
8 | libzfs
9 | libzfs_core
10 | libzpool
11 | )
12 | install(TARGETS zstreamdump RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
13 | install(FILES $
14 | DESTINATION "${CMAKE_INSTALL_BINDIR}"
15 | OPTIONAL
16 | )
--------------------------------------------------------------------------------
/ZFSin/zfs/include/linux/utsname_compat.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License (the "License").
6 | * You may not use this file except in compliance with the License.
7 | *
8 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | * or http://www.opensolaris.org/os/licensing.
10 | * See the License for the specific language governing permissions
11 | * and limitations under the License.
12 | *
13 | * When distributing Covered Code, include this CDDL HEADER in each
14 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | * If applicable, add the following below this CDDL HEADER, with the
16 | * fields enclosed by brackets "[]" replaced with your own identifying
17 | * information: Portions Copyright [yyyy] [name of copyright owner]
18 | *
19 | * CDDL HEADER END
20 | */
21 |
22 | #ifndef _ZFS_UTSNAME_H
23 | #define _ZFS_UTSNAME_H
24 |
25 | #include
26 |
27 | extern struct utsname utsname;
28 |
29 | #endif /* _ZFS_UTSNAME_H */
30 |
--------------------------------------------------------------------------------
/ZFSin/zfs/include/sys/blkptr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * This file and its contents are supplied under the terms of the
5 | * Common Development and Distribution License ("CDDL"), version 1.0.
6 | * You may only use this file in accordance with the terms of version
7 | * 1.0 of the CDDL.
8 | *
9 | * A full copy of the text of the CDDL should have accompanied this
10 | * source. A copy of the CDDL is also available via the Internet at
11 | * http://www.illumos.org/license/CDDL.
12 | *
13 | * CDDL HEADER END
14 | */
15 |
16 | /*
17 | * Copyright (c) 2013 by Delphix. All rights reserved.
18 | */
19 |
20 | #ifndef _SYS_BLKPTR_H
21 | #define _SYS_BLKPTR_H
22 |
23 | #include
24 | #include
25 |
26 | #ifdef __cplusplus
27 | extern "C" {
28 | #endif
29 |
30 | void encode_embedded_bp_compressed(blkptr_t *, void *,
31 | enum zio_compress, int, int);
32 | void decode_embedded_bp_compressed(const blkptr_t *, void *);
33 | int decode_embedded_bp(const blkptr_t *, void *, int);
34 |
35 | #ifdef __cplusplus
36 | }
37 | #endif
38 |
39 | #endif /* _SYS_BLKPTR_H */
40 |
--------------------------------------------------------------------------------
/ZFSin/zfs/include/sys/finderinfo.h:
--------------------------------------------------------------------------------
1 | #ifndef FINDERINFO_H
2 | #define FINDERINFO_H
3 |
4 |
5 |
6 |
7 | #endif
8 |
--------------------------------------------------------------------------------
/ZFSin/zfs/include/sys/hkdf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * This file and its contents are supplied under the terms of the
5 | * Common Development and Distribution License ("CDDL"), version 1.0.
6 | * You may only use this file in accordance with the terms of version
7 | * 1.0 of the CDDL.
8 | *
9 | * A full copy of the text of the CDDL should have accompanied this
10 | * source. A copy of the CDDL is also available via the Internet at
11 | * http://www.illumos.org/license/CDDL.
12 | *
13 | * CDDL HEADER END
14 | */
15 |
16 | /*
17 | * Copyright (c) 2017, Datto, Inc. All rights reserved.
18 | */
19 |
20 | #ifndef _SYS_HKDF_H_
21 | #define _SYS_HKDF_H_
22 |
23 | #include
24 |
25 | int hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt,
26 | uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key,
27 | uint_t out_len);
28 |
29 | #endif /* _SYS_HKDF_H_ */
30 |
--------------------------------------------------------------------------------
/ZFSin/zfs/include/sys/lua/Makefile.am:
--------------------------------------------------------------------------------
1 | COMMON_H = \
2 | $(top_srcdir)/include/sys/lua/lua.h \
3 | $(top_srcdir)/include/sys/lua/luaconf.h \
4 | $(top_srcdir)/include/sys/lua/lualib.h \
5 | $(top_srcdir)/include/sys/lua/lauxlib.h
6 |
7 | KERNEL_H =
8 |
9 | USER_H =
10 |
11 | EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
12 |
13 | if CONFIG_USER
14 | libzfsdir = $(includedir)/libzfs/sys/lua
15 | libzfs_HEADERS = $(COMMON_H) $(USER_H)
16 | endif
17 |
18 | if CONFIG_KERNEL
19 | kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/lua
20 | kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
21 | endif
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/include/sys/zcp_global.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * This file and its contents are supplied under the terms of the
5 | * Common Development and Distribution License ("CDDL"), version 1.0.
6 | * You may only use this file in accordance with the terms of version
7 | * 1.0 of the CDDL.
8 | *
9 | * A full copy of the text of the CDDL should have accompanied this
10 | * source. A copy of the CDDL is also available via the Internet at
11 | * http://www.illumos.org/license/CDDL.
12 | *
13 | * CDDL HEADER END
14 | */
15 |
16 | /*
17 | * Copyright (c) 2016 by Delphix. All rights reserved.
18 | */
19 |
20 | #ifndef _SYS_ZCP_GLOBALS_H
21 | #define _SYS_ZCP_GLOBALS_H
22 |
23 | #include
24 |
25 | #ifdef __cplusplus
26 | extern "C" {
27 | #endif
28 |
29 | void zcp_load_globals(lua_State *);
30 |
31 | #ifdef __cplusplus
32 | }
33 | #endif
34 |
35 | #endif /* _SYS_ZCP_GLOBALS_H */
36 |
--------------------------------------------------------------------------------
/ZFSin/zfs/include/sys/zcp_prop.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * This file and its contents are supplied under the terms of the
5 | * Common Development and Distribution License ("CDDL"), version 1.0.
6 | * You may only use this file in accordance with the terms of version
7 | * 1.0 of the CDDL.
8 | *
9 | * A full copy of the text of the CDDL should have accompanied this
10 | * source. A copy of the CDDL is also available via the Internet at
11 | * http://www.illumos.org/license/CDDL.
12 | *
13 | * CDDL HEADER END
14 | */
15 |
16 | /*
17 | * Copyright (c) 2016 by Delphix. All rights reserved.
18 | */
19 |
20 | #ifndef _SYS_ZCP_PROP_H
21 | #define _SYS_ZCP_PROP_H
22 |
23 | #ifdef __cplusplus
24 | extern "C" {
25 | #endif
26 |
27 | int zcp_load_get_lib(lua_State *state);
28 | boolean_t prop_valid_for_ds(dsl_dataset_t *ds, zfs_prop_t zfs_prop);
29 |
30 | #ifdef __cplusplus
31 | }
32 | #endif
33 |
34 | #endif /* _SYS_ZCP_PROP_H */
35 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(zlib-1.2.3)
2 | add_subdirectory(libpthread)
3 | add_subdirectory(libzfs)
4 | add_subdirectory(libspl)
5 | add_subdirectory(libkstat)
6 | add_subdirectory(libuutil)
7 | add_subdirectory(libnvpair)
8 | add_subdirectory(libicp)
9 | add_subdirectory(libavl)
10 | add_subdirectory(libuuid)
11 | add_subdirectory(libunicode)
12 | add_subdirectory(libzfs_core)
13 | add_subdirectory(libefi)
14 | add_subdirectory(libshare)
15 | add_subdirectory(libzpool)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libavl/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(AVL_MODULE_DIR "../../module/avl")
2 | add_library(libavl
3 | "${AVL_MODULE_DIR}/avl.c"
4 | )
5 | target_link_libraries(libavl PRIVATE libspl)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libavl/libavl/libavl.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | Source Files
20 |
21 |
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libefi/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(libefi
2 | rdwr_efi.c
3 | )
4 | target_link_libraries(libefi PRIVATE libuuid zlib)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libefi/libefi/libefi.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | Source Files
20 |
21 |
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libkstat/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(libkstat
2 | kstat.c
3 | gmatch.c
4 | )
5 | target_link_libraries(libkstat PUBLIC libspl)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libnvpair/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(NVPAIR_MODULE_DIR "../../module/nvpair")
2 |
3 | add_library(libnvpair
4 | "${NVPAIR_MODULE_DIR}/fnvpair.c"
5 | "${NVPAIR_MODULE_DIR}/nvpair.c"
6 | "${NVPAIR_MODULE_DIR}/nvpair_alloc_fixed.c"
7 | libnvpair.c
8 | libnvpair_json.c
9 | nvpair_alloc_system.c
10 | )
11 | target_link_libraries(libnvpair PUBLIC libspl)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libpthread/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(libpthread INTERFACE)
2 | target_include_directories(libpthread INTERFACE "")
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libshare/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(libshare
2 | libshare.c
3 | nfs.c
4 | smb.c
5 | )
6 | target_link_libraries(libshare PUBLIC libspl)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libshare/afp.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License (the "License").
6 | * You may not use this file except in compliance with the License.
7 | *
8 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | * or http://www.opensolaris.org/os/licensing.
10 | * See the License for the specific language governing permissions
11 | * and limitations under the License.
12 | *
13 | * When distributing Covered Code, include this CDDL HEADER in each
14 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | * If applicable, add the following below this CDDL HEADER, with the
16 | * fields enclosed by brackets "[]" replaced with your own identifying
17 | * information: Portions Copyright [yyyy] [name of copyright owner]
18 | *
19 | * CDDL HEADER END
20 | */
21 |
22 | void libshare_afp_init(void);
23 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libshare/nfs.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License (the "License").
6 | * You may not use this file except in compliance with the License.
7 | *
8 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | * or http://www.opensolaris.org/os/licensing.
10 | * See the License for the specific language governing permissions
11 | * and limitations under the License.
12 | *
13 | * When distributing Covered Code, include this CDDL HEADER in each
14 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | * If applicable, add the following below this CDDL HEADER, with the
16 | * fields enclosed by brackets "[]" replaced with your own identifying
17 | * information: Portions Copyright [yyyy] [name of copyright owner]
18 | *
19 | * CDDL HEADER END
20 | */
21 |
22 | /*
23 | * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
24 | * Copyright (c) 2011 Gunnar Beutner
25 | */
26 |
27 | void libshare_nfs_init(void);
28 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libshare/smb.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License (the "License").
6 | * You may not use this file except in compliance with the License.
7 | *
8 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | * or http://www.opensolaris.org/os/licensing.
10 | * See the License for the specific language governing permissions
11 | * and limitations under the License.
12 | *
13 | * When distributing Covered Code, include this CDDL HEADER in each
14 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | * If applicable, add the following below this CDDL HEADER, with the
16 | * fields enclosed by brackets "[]" replaced with your own identifying
17 | * information: Portions Copyright [yyyy] [name of copyright owner]
18 | *
19 | * CDDL HEADER END
20 | */
21 |
22 | void libshare_smb_init(void);
23 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(libspl
2 | asm-generic/atomic.c
3 | crypto/edonr/edonr.c
4 | crypto/sha2/sha2.c
5 | crypto/skein/skein.c
6 | crypto/skein/skein_block.c
7 | crypto/skein/skein_iv.c
8 | fdatasync.c
9 | gethrestime.c
10 | gethrtime.c
11 | getmntany.c
12 | getopt.c
13 | getoptl.c
14 | list.c
15 | mkdirp.c
16 | crc32.c
17 | posix.c
18 | timestamp.c
19 | uio.c
20 | xdr.c
21 | xdr_array.c
22 | xdr_float.c
23 | xdr_mem.c
24 | zmount.c
25 | zone.c
26 | )
27 | target_include_directories(libspl BEFORE PUBLIC include)
28 | target_link_libraries(libspl PRIVATE libpthread advapi32 shell32)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/fdatasync.c:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License (the "License").
6 | * You may not use this file except in compliance with the License.
7 | *
8 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | * or http://www.opensolaris.org/os/licensing.
10 | * See the License for the specific language governing permissions
11 | * and limitations under the License.
12 | *
13 | * When distributing Covered Code, include this CDDL HEADER in each
14 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | * If applicable, add the following below this CDDL HEADER, with the
16 | * fields enclosed by brackets "[]" replaced with your own identifying
17 | * information: Portions Copyright [yyyy] [name of copyright owner]
18 | *
19 | * CDDL HEADER END
20 | */
21 |
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/alloca.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/alloca.h
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/attr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License (the "License").
6 | * You may not use this file except in compliance with the License.
7 | *
8 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | * or http://www.opensolaris.org/os/licensing.
10 | * See the License for the specific language governing permissions
11 | * and limitations under the License.
12 | *
13 | * When distributing Covered Code, include this CDDL HEADER in each
14 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | * If applicable, add the following below this CDDL HEADER, with the
16 | * fields enclosed by brackets "[]" replaced with your own identifying
17 | * information: Portions Copyright [yyyy] [name of copyright owner]
18 | *
19 | * CDDL HEADER END
20 | */
21 |
22 | #ifndef _LIBSPL_ATTR_H
23 | #define _LIBSPL_ATTR_H
24 |
25 | #endif /* _LIBSPL_ATTR_H */
26 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/dlfcn.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/dlfcn.h
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/getopt.h:
--------------------------------------------------------------------------------
1 | #ifndef LIBSPL_GETOPT_H_INCLUDED
2 | #define LIBSPL_GETOPT_H_INCLUDED
3 |
4 | #define no_argument 0
5 | #define required_argument 1
6 | #define optional_argument 2
7 |
8 | struct option
9 | {
10 | const char* name;
11 | int has_arg;
12 | int* flag;
13 | int val;
14 | };
15 |
16 | extern int getopt(int, char* const*, const char*);
17 | extern int getopt_long(int, char* const*, const char*, const struct option*, int*);
18 | extern int getopt_long_only(int, char* const*, const char*, const struct option*, int*);
19 | extern int getsubopt(char** optionsp, char* tokens[], char** valuep);
20 |
21 | #endif // LIBSPL_GETOPT_H_INCLUDED
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/libintl.h:
--------------------------------------------------------------------------------
1 | #ifndef LIBSPL_LIBINTL_H
2 | #define LIBSPL_LIBINTL_H
3 |
4 | #ifdef HAVE_GETTEXT
5 |
6 | #else
7 | #define gettext(str) (str)
8 | #define dgettext(domain, str) (str)
9 | #endif
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/poll.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/poll.h
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sha2.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License (the "License").
6 | * You may not use this file except in compliance with the License.
7 | *
8 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | * or http://www.opensolaris.org/os/licensing.
10 | * See the License for the specific language governing permissions
11 | * and limitations under the License.
12 | *
13 | * When distributing Covered Code, include this CDDL HEADER in each
14 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | * If applicable, add the following below this CDDL HEADER, with the
16 | * fields enclosed by brackets "[]" replaced with your own identifying
17 | * information: Portions Copyright [yyyy] [name of copyright owner]
18 | *
19 | * CDDL HEADER END
20 | */
21 |
22 | /*
23 | * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 | * Use is subject to license terms.
25 | */
26 |
27 | #ifndef _SHA2_H
28 | #define _SHA2_H
29 |
30 | #include
31 |
32 | #endif /* _SHA2_H */
33 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/stropts.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License (the "License").
6 | * You may not use this file except in compliance with the License.
7 | *
8 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | * or http://www.opensolaris.org/os/licensing.
10 | * See the License for the specific language governing permissions
11 | * and limitations under the License.
12 | *
13 | * When distributing Covered Code, include this CDDL HEADER in each
14 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | * If applicable, add the following below this CDDL HEADER, with the
16 | * fields enclosed by brackets "[]" replaced with your own identifying
17 | * information: Portions Copyright [yyyy] [name of copyright owner]
18 | *
19 | * CDDL HEADER END
20 | */
21 |
22 | #ifndef _LIBSPL_STROPTS_H
23 | #define _LIBSPL_STROPTS_H
24 |
25 |
26 | int highbit64(unsigned long long i);
27 |
28 |
29 | #endif /* _LIBSPL_STROPTS_H */
30 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/bitmap.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 | * Use is subject to license terms.
25 | */
26 |
27 | #ifndef _LIBSPL_SYS_BITMAP_H
28 | #define _LIBSPL_SYS_BITMAP_H
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/callb.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 | * Use is subject to license terms.
25 | */
26 |
27 | #ifndef _SYS_CALLB_H
28 | #define _SYS_CALLB_H
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/cmn_err.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 | * Use is subject to license terms.
25 | */
26 |
27 | #ifndef _LIBSPL_SYS_CMN_ERR_H
28 | #define _LIBSPL_SYS_CMN_ERR_H
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/conf.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/sys/conf.h
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/errno.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _LIBSPL_SYS_ERRNO_H
3 | #define _LIBSPL_SYS_ERRNO_H
4 |
5 | #include
6 |
7 | #endif
8 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/kernel_types.h:
--------------------------------------------------------------------------------
1 | #ifndef LIBSPL_SYS_KERNEL_TYPES_H
2 | #define LIBSPL_SYS_KERNEL_TYPES_H
3 |
4 |
5 | #endif
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/malloc.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/sys/malloc.c
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/malloc.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/sys/malloc.h
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/mkdev.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 | * Use is subject to license terms.
25 | */
26 |
27 | #ifndef _LIBSPL_SYS_MKDEV_H
28 | #define _LIBSPL_SYS_MKDEV_H
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/mman.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/sys/mman.h
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/mntent.h:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/pathname.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _SPL_PATHNAME_H
3 | #define _SPL_PATHNAME_H
4 |
5 | typedef struct pathname {
6 | char *pn_buf; /* underlying storage */
7 | char *pn_path; /* remaining pathname */
8 | size_t pn_pathlen; /* remaining length */
9 | size_t pn_bufsize; /* total size of pn_buf */
10 | } pathname_t;
11 |
12 | #endif /* SPL_PATHNAME_H */
13 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/policy.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 |
23 | #ifndef _LIBSYS_SYS_POLICY_H
24 | #define _LIBSYS_SYS_POLICY_H
25 |
26 | #define secpolicy_sys_config(c, co) (0)
27 |
28 | #endif /* _LIBSYS_SYS_POLICY_H */
29 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/priv.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 | * Use is subject to license terms.
25 | */
26 |
27 | #ifndef _LIBSPL_SYS_PRIV_H
28 | #define _LIBSPL_SYS_PRIV_H
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/proc.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _LIBSPL_SYS_PROC_H
3 | #define _LIBSPL_SYS_PROC_H
4 |
5 | struct proc {
6 | void *dummy;
7 | };
8 |
9 | typedef struct proc proc_t;
10 |
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/resource.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/sys/resource.h
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/signal.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _LIBSPL_SYS_SIGNAL_H
3 | #define _LIBSPL_SYS_SIGNAL_H
4 |
5 | #include
6 |
7 | #endif
8 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/socket.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright(c) 2017 Jorgen Lundman
24 | */
25 |
26 | #ifndef _LIBSPL_SYS_SOCKET_H
27 | #define _LIBSPL_SYS_SOCKET_H
28 |
29 | #include
30 |
31 | #endif
32 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/statvfs.h:
--------------------------------------------------------------------------------
1 | #ifndef LIBSPL_STATVFS_H_INCLUDED
2 | #define LIBSPL_STATVFS_H_INCLUDED
3 |
4 | #include
5 | int statfs(const char* path, struct statfs* buf);
6 |
7 | #endif
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/sunddi.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright (c) 2008 by Sun Microsystems, Inc.
24 | */
25 |
26 | #ifndef _SYS_SUNDDI_H
27 | #define _SYS_SUNDDI_H
28 |
29 | #endif /* _SYS_SUNDDI_H */
30 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/timer.h:
--------------------------------------------------------------------------------
1 | #ifndef _LIBSPL_TIMER_H
2 | #define _LIBSPL_TIMER_H
3 |
4 |
5 |
6 |
7 | #endif /* _LIBSPL_TIMER_H */
8 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/varargs.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 | * Use is subject to license terms.
25 | */
26 |
27 | #ifndef _LIBSPL_SYS_VARARGS_H
28 | #define _LIBSPL_SYS_VARARGS_H
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/vfs.h:
--------------------------------------------------------------------------------
1 | #ifndef LIBSPL_VFS_H_INCLUDED
2 | #define LIBSPL_VFS_H_INCLUDED
3 |
4 |
5 |
6 |
7 |
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/wait.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/sys/wait.h
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/xattr.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/libspl/include/sys/xattr.h
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/sys/zone.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 | * Use is subject to license terms.
25 | */
26 |
27 | #ifndef _LIBSPL_SYS_ZONE_H
28 | #define _LIBSPL_SYS_ZONE_H
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libspl/include/util/sscanf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * CDDL HEADER START
3 | *
4 | * The contents of this file are subject to the terms of the
5 | * Common Development and Distribution License, Version 1.0 only
6 | * (the "License"). You may not use this file except in compliance
7 | * with the License.
8 | *
9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | * or http://www.opensolaris.org/os/licensing.
11 | * See the License for the specific language governing permissions
12 | * and limitations under the License.
13 | *
14 | * When distributing Covered Code, include this CDDL HEADER in each
15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | * If applicable, add the following below this CDDL HEADER, with the
17 | * fields enclosed by brackets "[]" replaced with your own identifying
18 | * information: Portions Copyright [yyyy] [name of copyright owner]
19 | *
20 | * CDDL HEADER END
21 | */
22 | /*
23 | * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 | * Use is subject to license terms.
25 | */
26 |
27 | #ifndef _LIBSPL_UTIL_SSCANF_H
28 | #define _LIBSPL_UTIL_SSCANF_H
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libunicode/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(UNICODDE_MODULE_DIR "../../module/unicode")
2 | add_library(libunicode
3 | "${UNICODDE_MODULE_DIR}/u8_textprep.c"
4 | "${UNICODDE_MODULE_DIR}/uconv.c"
5 | )
6 | target_link_libraries(libunicode PRIVATE libspl)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libuuid/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(libuuid
2 | clear.c
3 | compare.c
4 | copy.c
5 | gen_uuid.c
6 | isnull.c
7 | pack.c
8 | parse.c
9 | randutils.c
10 | unpack.c
11 | unparse.c
12 | uuid_time.c
13 | randutils.h
14 | uuid.h
15 | )
16 | target_compile_definitions(libuuid PUBLIC HAVE_STDINT_H)
17 | target_link_libraries(libuuid PUBLIC libspl)
18 | target_include_directories(libuuid PUBLIC "")
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libuuid/COPYING:
--------------------------------------------------------------------------------
1 | This library is free software; you can redistribute it and/or
2 | modify it under the terms of the Modified BSD License.
3 |
4 | The complete text of the license is available at the
5 | Documentation/licenses/COPYING.BSD-3 file.
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libuuid/randutils.h:
--------------------------------------------------------------------------------
1 | #ifndef UTIL_LINUX_RANDUTILS
2 | #define UTIL_LINUX_RANDUTILS
3 |
4 | #ifdef HAVE_SRANDOM
5 | #define srand(x) srandom(x)
6 | #define rand() random()
7 | #endif
8 |
9 | extern int random_get_fd(void);
10 | extern void random_get_bytes(void *buf, size_t nbytes);
11 |
12 | #endif
13 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libuutil/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(libuutil
2 | uu_alloc.c
3 | uu_avl.c
4 | uu_dprintf.c
5 | uu_ident.c
6 | uu_list.c
7 | uu_misc.c
8 | uu_open.c
9 | uu_pname.c
10 | uu_string.c
11 | uu_strtoint.c
12 | )
13 | target_link_libraries(libuutil PUBLIC libspl libpthread)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libzfs/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(libzfs
2 | libzfs_changelist.c
3 | libzfs_config.c
4 | libzfs_crypto.c
5 | libzfs_dataset.c
6 | libzfs_diff.c
7 | libzfs_fru.c
8 | libzfs_graph.c
9 | libzfs_import.c
10 | libzfs_iter.c
11 | libzfs_mount.c
12 | libzfs_pool.c
13 | libzfs_sendrecv.c
14 | libzfs_status.c
15 | libzfs_util.c
16 | )
17 | target_include_directories(libzfs BEFORE PRIVATE ../libspl/include)
18 | target_link_libraries(libzfs PUBLIC libpthread zlib)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libzfs_core/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(libzfs_core
2 | libzfs_core.c
3 | )
4 | target_link_libraries(libzfs_core PUBLIC libnvpair libpthread)
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/libzfs_core/libzfs_core/libzfs_core.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | Source Files
20 |
21 |
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(ZLIB_SOURCES
2 | adler32.c
3 | compress.c
4 | crc32.c
5 | deflate.c
6 | gzio.c
7 | infback.c
8 | inffast.c
9 | inflate.c
10 | inftrees.c
11 | trees.c
12 | uncompr.c
13 | zutil.c
14 | contrib/masmx64/inffas8664.c
15 | contrib/masmx86/gvmat32c.c
16 | contrib/minizip/ioapi.c
17 | contrib/minizip/unzip.c
18 | contrib/minizip/zip.c
19 | )
20 |
21 | wdk_add_library(zlibkern ${ZLIB_SOURCES})
22 | target_include_directories(zlibkern PUBLIC "")
23 | target_link_libraries(zlibkern PRIVATE splkern)
24 | target_compile_definitions(zlibkern PUBLIC Z_PREFIX MY_ZCALLOC)
25 |
26 | add_library(zlib ${ZLIB_SOURCES})
27 | target_include_directories(zlib PUBLIC "")
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/ChangeLog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/zlib-1.2.3/ChangeLog
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/contrib/vstudio/vc8/zlib.rc:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #define IDR_VERSION1 1
4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
5 | FILEVERSION 1,2,3,0
6 | PRODUCTVERSION 1,2,3,0
7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
8 | FILEFLAGS 0
9 | FILEOS VOS_DOS_WINDOWS32
10 | FILETYPE VFT_DLL
11 | FILESUBTYPE 0 // not used
12 | BEGIN
13 | BLOCK "StringFileInfo"
14 | BEGIN
15 | BLOCK "040904E4"
16 | //language ID = U.S. English, char set = Windows, Multilingual
17 |
18 | BEGIN
19 | VALUE "FileDescription", "zlib data compression library\0"
20 | VALUE "FileVersion", "1.2.3.0\0"
21 | VALUE "InternalName", "zlib\0"
22 | VALUE "OriginalFilename", "zlib.dll\0"
23 | VALUE "ProductName", "ZLib.DLL\0"
24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
25 | VALUE "LegalCopyright", "(C) 1995-2003 Jean-loup Gailly & Mark Adler\0"
26 | END
27 | END
28 | BLOCK "VarFileInfo"
29 | BEGIN
30 | VALUE "Translation", 0x0409, 1252
31 | END
32 | END
33 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/example-res.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/zlib-1.2.3/example-res.rc
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/example-static-res.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/zlib-1.2.3/example-static-res.rc
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/inffast.h:
--------------------------------------------------------------------------------
1 | /* inffast.h -- header to use inffast.c
2 | * Copyright (C) 1995-2003 Mark Adler
3 | * For conditions of distribution and use, see copyright notice in zlib.h
4 | */
5 |
6 | /* WARNING: this file should *not* be used by applications. It is
7 | part of the implementation of the compression library and is
8 | subject to change. Applications should only use zlib.h.
9 | */
10 |
11 | void inflate_fast OF((z_streamp strm, unsigned start));
12 |
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/minigzip-res.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/zlib-1.2.3/minigzip-res.rc
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/minigzip-static-res.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/zlib-1.2.3/minigzip-static-res.rc
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/zlib-dll-res.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/lib/zlib-1.2.3/zlib-dll-res.rc
--------------------------------------------------------------------------------
/ZFSin/zfs/lib/zlib-1.2.3/zlib-dllversion.c:
--------------------------------------------------------------------------------
1 | /* See: http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/versions.asp */
2 | #include
3 | #include
4 | #ifdef __cplusplus
5 | extern "C" {
6 | #endif
7 | /* __declspec(dllexport) */ HRESULT DllGetVersion (DLLVERSIONINFO2 *pdvi);
8 | #ifdef __cplusplus
9 | }
10 | #endif
11 |
12 | HRESULT DllGetVersion (DLLVERSIONINFO2 *pdvi)
13 | {
14 | if ( !pdvi || (pdvi->info1.cbSize != sizeof (*pdvi)) )
15 | return (E_INVALIDARG);
16 | pdvi->info1.dwMajorVersion = 1;
17 | pdvi->info1.dwMinorVersion = 2;
18 | pdvi->info1.dwBuildNumber = 3;
19 | pdvi->info1.dwPlatformID = DLLVER_PLATFORM_WINDOWS;
20 | if (pdvi->info1.cbSize == sizeof (DLLVERSIONINFO2))
21 | pdvi->ullVersion = MAKEDLLVERULL (1, 2, 3, 2027);
22 | return S_OK;
23 | }
24 |
--------------------------------------------------------------------------------
/ZFSin/zfs/module/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(icp)
2 | add_subdirectory(lua)
3 | add_subdirectory(zfs)
4 | add_subdirectory(zcommon)
5 | add_subdirectory(nvpair)
6 | add_subdirectory(unicode)
--------------------------------------------------------------------------------
/ZFSin/zfs/module/icp/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | wdk_add_library(icpkern
2 | algs/aes/aes_impl.c
3 | algs/aes/aes_modes.c
4 | algs/edonr/edonr.c
5 | algs/modes/cbc.c
6 | algs/modes/ccm.c
7 | algs/modes/ctr.c
8 | algs/modes/ecb.c
9 | algs/modes/gcm.c
10 | algs/modes/modes.c
11 | algs/sha1/sha1.c
12 | algs/sha2/sha2.c
13 | algs/skein/skein.c
14 | algs/skein/skein_block.c
15 | algs/skein/skein_iv.c
16 | algs/edonr/edonr_byteorder.h
17 | algs/skein/skein_impl.h
18 | algs/skein/skein_port.h
19 | api/kcf_cipher.c
20 | api/kcf_ctxops.c
21 | api/kcf_digest.c
22 | api/kcf_mac.c
23 | api/kcf_miscapi.c
24 | core/kcf_callprov.c
25 | core/kcf_mech_tabs.c
26 | core/kcf_prov_lib.c
27 | core/kcf_prov_tabs.c
28 | core/kcf_sched.c
29 | illumos-crypto.c
30 | io/aes.c
31 | io/sha1_mod.c
32 | io/sha2_mod.c
33 | os/bitmap_arch.c
34 | os/modconf.c
35 | os/modhash.c
36 | spi/kcf_spi.c
37 | )
38 |
39 | target_link_libraries(icpkern PRIVATE splkern)
40 | target_include_directories(icpkern BEFORE PUBLIC "include")
--------------------------------------------------------------------------------
/ZFSin/zfs/module/lua/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | wdk_add_library(luakern
2 | lapi.c
3 | lauxlib.c
4 | lbaselib.c
5 | lbitlib.c
6 | lcode.c
7 | lcompat.c
8 | lcorolib.c
9 | lctype.c
10 | ldebug.c
11 | ldo.c
12 | ldump.c
13 | lfunc.c
14 | lgc.c
15 | llex.c
16 | lmem.c
17 | lobject.c
18 | lopcodes.c
19 | lparser.c
20 | lstate.c
21 | lstring.c
22 | lstrlib.c
23 | ltable.c
24 | ltablib.c
25 | ltm.c
26 | lundump.c
27 | lvm.c
28 | lzio.c
29 |
30 | lapi.h
31 | lcode.h
32 | lctype.h
33 | ldebug.h
34 | ldo.h
35 | lfunc.h
36 | lgc.h
37 | llex.h
38 | llimits.h
39 | lmem.h
40 | lobject.h
41 | lopcodes.h
42 | lparser.h
43 | lstate.h
44 | lstring.h
45 | ltable.h
46 | ltm.h
47 | lundump.h
48 | lvm.h
49 | lzio.h
50 | )
51 | target_link_libraries(luakern PRIVATE splkern)
52 |
--------------------------------------------------------------------------------
/ZFSin/zfs/module/lua/lapi.h:
--------------------------------------------------------------------------------
1 | /* BEGIN CSTYLED */
2 | /*
3 | ** $Id: lapi.h,v 2.7.1.1 2013/04/12 18:48:47 roberto Exp $
4 | ** Auxiliary functions from Lua API
5 | ** See Copyright Notice in lua.h
6 | */
7 |
8 | #ifndef lapi_h
9 | #define lapi_h
10 |
11 |
12 | #include "llimits.h"
13 | #include "lstate.h"
14 |
15 | #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
16 | "stack overflow");}
17 |
18 | #define adjustresults(L,nres) \
19 | { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
20 |
21 | #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
22 | "not enough elements in the stack")
23 |
24 |
25 | #endif
26 | /* END CSTYLED */
27 |
--------------------------------------------------------------------------------
/ZFSin/zfs/module/lua/lundump.h:
--------------------------------------------------------------------------------
1 | /* BEGIN CSTYLED */
2 | /*
3 | ** $Id: lundump.h,v 1.39.1.1 2013/04/12 18:48:47 roberto Exp $
4 | ** load precompiled Lua chunks
5 | ** See Copyright Notice in lua.h
6 | */
7 |
8 | #ifndef lundump_h
9 | #define lundump_h
10 |
11 | #include "lobject.h"
12 | #include "lzio.h"
13 |
14 | /* load one chunk; from lundump.c */
15 | LUAI_FUNC Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
16 |
17 | /* make header; from lundump.c */
18 | LUAI_FUNC void luaU_header (lu_byte* h);
19 |
20 | /* dump one chunk; from ldump.c */
21 | LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
22 |
23 | /* data to catch conversion errors */
24 | #define LUAC_TAIL "\x19\x93\r\n\x1a\n"
25 |
26 | /* size in bytes of header of binary files */
27 | #define LUAC_HEADERSIZE (sizeof(LUA_SIGNATURE)-sizeof(char)+2+6+sizeof(LUAC_TAIL)-sizeof(char))
28 |
29 | #endif
30 | /* END CSTYLED */
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/module/nvpair/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | wdk_add_library(nvpairkern
2 | fnvpair.c
3 | nvpair.c
4 | nvpair_alloc_fixed.c
5 | nvpair_alloc_spl.c
6 | )
7 |
8 |
9 | target_link_libraries(nvpairkern PRIVATE splkern)
--------------------------------------------------------------------------------
/ZFSin/zfs/module/unicode/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | wdk_add_library(unicodekern
2 | u8_textprep.c
3 | uconv.c
4 | )
5 |
6 | target_link_libraries(unicodekern PRIVATE splkern)
--------------------------------------------------------------------------------
/ZFSin/zfs/module/zcommon/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | wdk_add_library(zcommonkern
2 | zfs_comutil.c
3 | zfs_deleg.c
4 | zfs_fletcher.c
5 | zfs_namecheck.c
6 | zfs_prop.c
7 | zpool_prop.c
8 | zprop_common.c
9 | )
10 |
11 | target_link_libraries(zcommonkern PRIVATE splkern)
12 |
--------------------------------------------------------------------------------
/ZFSin/zfs/module/zfs/dsl_proc.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/module/zfs/dsl_proc.c
--------------------------------------------------------------------------------
/ZFSin/zfs/resources/openzfs.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/resources/openzfs.ico
--------------------------------------------------------------------------------
/ZFSin/zfs/resources/resources.rc:
--------------------------------------------------------------------------------
1 | OPENZFSICON ICON "openzfs.ico"
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/Makefile.com:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2012 by Delphix. All rights reserved.
14 | #
15 |
16 | all := TARGET = all
17 | install := TARGET = install
18 | clean := TARGET = clean
19 | clobber := TARGET = clobber
20 | lint := TARGET = lint
21 |
22 | .KEEP_STATE:
23 |
24 | all clean clobber install lint: $(SUBDIRS)
25 |
26 | lint_PROG:
27 | $(LINT.c) $(PROG).c $(LDLIBS)
28 |
29 | lint_SRCS:
30 | $(LINT.c) $(SRCS) $(LDLIBS)
31 |
32 | $(SUBDIRS): FRC
33 | @if [ -f $@/Makefile ]; then \
34 | cd $@; pwd; $(MAKE) $(TARGET); \
35 | else \
36 | true; \
37 | fi
38 |
39 | FRC:
40 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/autogen.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | autoreconf -fiv
4 | rm -Rf autom4te.cache
5 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/config/Rules.am:
--------------------------------------------------------------------------------
1 | ZFS_OBJ = @ZFS_OBJ@
2 |
3 | AM_CFLAGS = ${DEBUG_CFLAGS} -Wall -Wstrict-prototypes
4 | AM_CFLAGS += ${NO_UNUSED_BUT_SET_VARIABLE}
5 | AM_CFLAGS += ${NO_AGGRESSIVE_LOOP_OPTIMIZATIONS}
6 | AM_CFLAGS += -fno-strict-aliasing
7 |
8 | AM_CPPFLAGS = -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT
9 | AM_CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64
10 | AM_CPPFLAGS += -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\"
11 | AM_CPPFLAGS += -D_LARGEFILE_SOURCE -D_OSX -std=c99
12 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/config/commands-linux.m4:
--------------------------------------------------------------------------------
1 | dnl # We have some wrappers to empulate BSD commands here
2 | export PATH=$PATH:`pwd`/scripts
3 |
4 | dnl # Give a pretty explanation if a command is missing
5 | MISSING_CMD="MISSING_CMD=`pwd`/scripts/missing_cmd \$missingcmd"
6 | AC_SUBST(MISSING_CMD)
7 | # AC_PATH_TOOL(CLRI, clri, "eval\ missingcmd=clri\;\ \$MISSING_CMD")
8 |
9 | AC_PATH_TOOL(COMPRESS, gzip, "")
10 | AC_PATH_TOOL(FORMAT, parted, "")
11 | AC_PATH_TOOL(LOCKFS, lsof, "")
12 | AC_PATH_TOOL(MODUNLOAD, rmmod, "")
13 | AC_PATH_TOOL(NEWFS, mke2fs, "")
14 | AC_PATH_TOOL(PACK, jar, "")
15 | AC_PATH_TOOL(SHARE, exportfs, "")
16 | AC_PATH_TOOL(SWAP, swapon, "")
17 | AC_PATH_TOOL(TUNEFS, tune2fs, "")
18 | AC_PATH_TOOL(UFSDUMP, dump, "")
19 | AC_PATH_TOOL(UFSRESTORE, restore, "")
20 | AC_PATH_TOOL(UNCOMPRESS, gunzip, "")
21 | AC_PATH_TOOL(UNPACK, jar, "")
22 | AC_PATH_TOOL(UNSHARE, exportfs, "")
23 | AC_PATH_TOOL(GETENT, getent, "")
24 | AC_PATH_TOOL(KPARTX, kpartx, "")
25 | AC_PATH_TOOL(GETFACL, getfacl, "")
26 | AC_PATH_TOOL(SETFACL, setfacl, "")
27 | AC_PATH_TOOL(CHACL, chacl, "")
28 |
29 | AC_CHECK_FILE([/etc/mtab], [MNTTAB=/etc/mtab], [])
30 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/config/system.m4:
--------------------------------------------------------------------------------
1 | dnl #
2 | dnl # Detect Darwin (or not)
3 | dnl #
4 | AC_DEFUN([ZFS_AC_SYSTEM], [
5 | AC_MSG_CHECKING([if OS is Darwin])
6 | _uname=$(uname -s)
7 | AS_IF([test "${_uname}" = "Darwin"], [
8 | DARWIN="yes"
9 |
10 | ZONENAME="echo global"
11 | AC_SUBST(ZONENAME)
12 | ])
13 | AC_MSG_RESULT([$DARWIN])
14 |
15 | AC_SUBST(DARWIN)
16 | ])
17 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/scripts/missing_cmd:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | echo "[MISSING CMD '$@']" > /dev/stderr
4 | exit 1
5 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/scripts/mkfile:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #BGH - truncate not available on OSX so use gtruncate from homebrew coreutils
4 | #TRUNCATE=truncate
5 | TRUNCATE=/usr/local/bin/gtruncate
6 |
7 | sparse=0
8 | if [[ "$1" == "-s" ]]; then
9 | sparse=1
10 | shift
11 | fi
12 |
13 | size=$1 ; shift
14 | files="$*"
15 |
16 | ERR=0
17 | if [[ "$sparse" -eq 1 ]]; then
18 | for file in $files; do
19 | dir=`dirname $file`
20 | [ ! -d "$dir" ] && mkdir -p $dir
21 |
22 | $TRUNCATE -s $size $file
23 | ret=$?
24 | if [[ "$ret" -gt 0 ]]; then
25 | ERR=$ret
26 | continue
27 | fi
28 | done
29 | else
30 | if [[ ${size:1} == *[mM] ]]; then
31 | size=${size%%[mM]}
32 | elif [[ ${size:1} == *[gG] ]]; then
33 | size=$((${size%%[gG]} * 1024))
34 | else
35 | size=$(($size / 1048576))
36 | fi
37 |
38 | for file in $files; do
39 | dir=`dirname $file`
40 | [ ! -d "$dir" ] && mkdir -p $dir
41 |
42 | dd if=/dev/zero of=$file bs=1048576 count=$size \
43 | 2> /dev/null
44 | ret=$?
45 | if [[ "$ret" -gt 0 ]]; then
46 | ERR=$ret
47 | continue
48 | fi
49 | done
50 | fi
51 |
52 | sync
53 |
54 | exit $ERR
55 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/test-runner/stf/README:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2012 by Delphix. All rights reserved.
14 | #
15 |
16 | This directory contains shell libraries used by the Solaris Test
17 | Framework (STF). They are duplicated here to allow test suites (like
18 | the ZFS Test Suite) that were written for STF to be easily ported
19 | to this framework.
20 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/chg_usr_exec:
--------------------------------------------------------------------------------
1 | ../cmd/chg_usr_exec/chg_usr_exec
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/file_check:
--------------------------------------------------------------------------------
1 | ../cmd/file_check/file_check
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/file_trunc:
--------------------------------------------------------------------------------
1 | ../cmd/file_trunc/file_trunc
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/file_write:
--------------------------------------------------------------------------------
1 | ../cmd/file_write/file_write
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/largest_file:
--------------------------------------------------------------------------------
1 | ../cmd/largest_file/largest_file
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/mkbusy:
--------------------------------------------------------------------------------
1 | ../cmd/mkbusy/mkbusy
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/mktree:
--------------------------------------------------------------------------------
1 | ../cmd/mktree/mktree
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/mmapwrite:
--------------------------------------------------------------------------------
1 | ../cmd/mmapwrite/mmapwrite
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/randfree_file:
--------------------------------------------------------------------------------
1 | ../cmd/randfree_file/randfree_file
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/readmmap:
--------------------------------------------------------------------------------
1 | ../cmd/readmmap/readmmap
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/bin/xattrtest:
--------------------------------------------------------------------------------
1 | ../cmd/xattrtest/xattrtest
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/.gitignore:
--------------------------------------------------------------------------------
1 | chg_usr_exec/chg_usr_exec
2 | file_write/file_write
3 | mkbusy/mkbusy
4 | mktree/mktree
5 | randfree_file/randfree_file
6 | largest_file/largest_file
7 | rm_lnkcnt_zero_file/rm_lnkcnt_zero_file
8 | readmmap/readmmap
9 | mmapwrite/mmapwrite
10 | file_trunc/file_trunc
11 | file_check/file_check
12 | *.o
13 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/chg_usr_exec/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | chg_usr_exec_PROGRAMS = chg_usr_exec
4 | chg_usr_exec_SOURCES = chg_usr_exec.c
5 | chg_usr_execdir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/file_check/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | file_check_PROGRAMS = file_check
4 | file_check_SOURCES = file_check.c
5 | file_checkdir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/file_trunc/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | file_trunc_PROGRAMS = file_trunc
4 | file_trunc_SOURCES = file_trunc.c
5 | file_truncdir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/file_write/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | file_write_PROGRAMS = file_write
4 | file_write_SOURCES = file_write.c
5 | file_writedir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/largest_file/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | largest_file_PROGRAMS = largest_file
4 | largest_file_SOURCES = largest_file.c
5 | largest_filedir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/libzfs_input_check/.gitignore:
--------------------------------------------------------------------------------
1 | /libzfs_input_check
2 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/libzfs_input_check/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin
4 |
5 | pkgexec_PROGRAMS = libzfs_input_check
6 |
7 | libzfs_input_check_SOURCES = libzfs_input_check.c
8 | libzfs_input_check_LDADD = \
9 | $(top_builddir)/lib/libnvpair/libnvpair.la \
10 | $(top_builddir)/lib/libzfs_core/libzfs_core.la
11 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/mkbusy/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | mkbusy_PROGRAMS = mkbusy
4 | mkbusy_SOURCES = mkbusy.c
5 | mkbusydir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/mktree/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | mktree_PROGRAMS = mktree
4 | mktree_SOURCES = mktree.c
5 | mktreedir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/mmapwrite/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | mmapwrite_PROGRAMS = mmapwrite
4 | mmapwrite_SOURCES = mmapwrite.c
5 | mmapwrite_LDADD = -lpthread
6 | mmapwritedir = $(srcdir)
7 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/nvlist_to_lua/.gitignore:
--------------------------------------------------------------------------------
1 | /nvlist_to_lua
2 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/nvlist_to_lua/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin
4 |
5 | DEFAULT_INCLUDES += \
6 | -I$(top_srcdir)/include \
7 | -I$(top_srcdir)/lib/libspl/include
8 |
9 | pkgexec_PROGRAMS = nvlist_to_lua
10 |
11 | nvlist_to_lua_SOURCES = nvlist_to_lua.c
12 | nvlist_to_lua_LDADD = \
13 | $(top_builddir)/lib/libnvpair/libnvpair.la \
14 | $(top_builddir)/lib/libzfs_core/libzfs_core.la
15 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/randfree_file/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | randfree_file_PROGRAMS = randfree_file
4 | randfree_file_SOURCES = randfree_file.c
5 | randfree_filedir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/randwritecomp/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2017 by Delphix. All rights reserved.
14 | #
15 |
16 | PROG = randwritecomp
17 |
18 | include $(SRC)/cmd/Makefile.cmd
19 | include ../Makefile.subdirs
20 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/randwritecomp/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | randwritecomp_PROGRAMS = randwritecomp
4 | randwritecomp_SOURCES = randwritecomp.c
5 | randwritecompdir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/readmmap/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | readmmap_PROGRAMS = readmmap
4 | readmmap_SOURCES = readmmap.c
5 | readmmapdir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | rm_lnkcnt_zero_file_PROGRAMS = rm_lnkcnt_zero_file
4 | rm_lnkcnt_zero_file_SOURCES = rm_lnkcnt_zero_file.c
5 | rm_lnkcnt_zero_file_LDADD = -lpthread
6 | rm_lnkcnt_zero_filedir = $(srcdir)
7 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/cmd/xattrtest/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/bin
4 |
5 | pkgexec_PROGRAMS = xattrtest
6 | xattrtest_SOURCES = xattrtest.c
7 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/runfiles/longevity.run:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2017 by Delphix. All rights reserved.
14 | #
15 |
16 | [DEFAULT]
17 | quiet = False
18 | user = root
19 | timeout = 10800
20 | outputdir = /var/tmp/test_results
21 |
22 | [/opt/zfs-tests/tests/longevity]
23 | tests = ['slop_space_test']
24 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/runfiles/stress.run:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2015 by Delphix. All rights reserved.
14 | #
15 |
16 | [DEFAULT]
17 | quiet = False
18 | user = root
19 | timeout = 1800
20 | outputdir = /var/tmp/test_results
21 |
22 | [/opt/zfs-tests/tests/stress/races]
23 | tests = ['remove_file_while_remap']
24 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/.gitignore:
--------------------------------------------------------------------------------
1 | ctime/ctime_001_pos
2 | exec/mmap_exec
3 | *.o
4 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2017, Intel Corporation.
16 | # Copyright (c) 2018, Delphix
17 | #
18 |
19 | . $STF_SUITE/include/libtest.shlib
20 | . $STF_SUITE/tests/functional/alloc_class/alloc_class.kshlib
21 |
22 | verify_runnable "global"
23 |
24 | pool_cleanup
25 | disk_cleanup
26 |
27 | log_pass
28 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/alloc_class/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2017, Intel Corporation.
16 | # Copyright (c) 2018 by Delphix. All rights reserved.
17 | #
18 |
19 | . $STF_SUITE/include/libtest.shlib
20 | . $STF_SUITE/tests/functional/alloc_class/alloc_class.kshlib
21 |
22 | verify_runnable "global"
23 |
24 | disk_cleanup
25 |
26 | log_pass
27 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/atime/atime.cfg:
--------------------------------------------------------------------------------
1 | #
2 | # CDDL HEADER START
3 | #
4 | # The contents of this file are subject to the terms of the
5 | # Common Development and Distribution License (the "License").
6 | # You may not use this file except in compliance with the License.
7 | #
8 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | # or http://www.opensolaris.org/os/licensing.
10 | # See the License for the specific language governing permissions
11 | # and limitations under the License.
12 | #
13 | # When distributing Covered Code, include this CDDL HEADER in each
14 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | # If applicable, add the following below this CDDL HEADER, with the
16 | # fields enclosed by brackets "[]" replaced with your own identifying
17 | # information: Portions Copyright [yyyy] [name of copyright owner]
18 | #
19 | # CDDL HEADER END
20 | #
21 |
22 | #
23 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 | # Use is subject to license terms.
25 | #
26 |
27 | export TESTCLONE=testclone$$
28 | export TESTSNAP=testsnap$$
29 |
30 | export TESTFILE=testfile
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/atime/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/Makefile.am:
--------------------------------------------------------------------------------
1 | SUBDIRS = \
2 | lua_core \
3 | synctask_core
4 |
5 | pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/channel_program
6 | dist_pkgdata_SCRIPTS = channel_common.kshlib
7 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile.am:
--------------------------------------------------------------------------------
1 | pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/channel_program/lua_core
2 | dist_pkgdata_SCRIPTS = \
3 | cleanup.ksh \
4 | setup.ksh \
5 | tst.args_to_lua.ksh \
6 | tst.args_to_lua.out \
7 | tst.args_to_lua.zcp \
8 | tst.divide_by_zero.err \
9 | tst.divide_by_zero.ksh \
10 | tst.divide_by_zero.zcp \
11 | tst.exists.ksh \
12 | tst.exists.zcp \
13 | tst.integer_illegal.ksh \
14 | tst.integer_overflow.ksh \
15 | tst.language_functions_neg.ksh \
16 | tst.language_functions_pos.ksh \
17 | tst.large_prog.ksh \
18 | tst.large_prog.out \
19 | tst.large_prog.zcp \
20 | tst.memory_limit.ksh \
21 | tst.nested_neg.ksh \
22 | tst.nested_neg.zcp \
23 | tst.nested_pos.ksh \
24 | tst.nested_pos.zcp \
25 | tst.nvlist_to_lua.ksh \
26 | tst.recursive_neg.ksh \
27 | tst.recursive_pos.ksh \
28 | tst.recursive.zcp \
29 | tst.return_large.ksh \
30 | tst.return_large.zcp \
31 | tst.return_nvlist_neg.ksh \
32 | tst.return_nvlist_pos.ksh \
33 | tst.return_recursive_table.ksh \
34 | tst.return_recursive_table.zcp \
35 | tst.timeout.ksh \
36 | tst.timeout.zcp
37 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/include/libtest.shlib
18 |
19 | default_cleanup
20 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/include/libtest.shlib
18 |
19 | DISK=${DISKS%% *}
20 |
21 | default_setup ${DISK}
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | #
20 | # DESCRIPTION:
21 | # Passing arguments to lua programs should work correctly.
22 | #
23 |
24 | verify_runnable "global"
25 |
26 | log_assert "Passing arguments to lua programs should work correctly."
27 |
28 | log_must_program $TESTPOOL $ZCP_ROOT/lua_core/tst.args_to_lua.zcp foo bar
29 |
30 | log_pass "Passing arguments to lua programs should work correctly."
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.out:
--------------------------------------------------------------------------------
1 | Channel program fully executed with no return value.
2 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016 by Delphix. All rights reserved.
14 | --
15 |
16 | -- This program should be invoked as "zfs program foo bar"
17 |
18 | arg = ...
19 | argv = arg["argv"]
20 |
21 | assert(#argv == 2)
22 | assert(argv[1] == "foo")
23 | assert(argv[2] == "bar")
24 |
25 | return
26 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.err:
--------------------------------------------------------------------------------
1 | Channel program execution failed:
2 | [string "channel program"]:16: attempt to divide by zero
3 | stack traceback:
4 | [string "channel program"]:16: in main chunk
5 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | #
20 | # DESCRIPTION:
21 | # Divide by zero should fail gracefully.
22 | #
23 |
24 | verify_runnable "global"
25 |
26 | log_assert "Divide by zero should fail gracefully."
27 |
28 | log_mustnot_program $TESTPOOL $ZCP_ROOT/lua_core/tst.divide_by_zero.zcp
29 |
30 | log_pass "Divide by zero should fail gracefully."
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016 by Delphix. All rights reserved.
14 | --
15 |
16 | return 1 / 0
17 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2017 by Delphix. All rights reserved.
14 | --
15 |
16 | -- ensure zfs.exists works as expected.
17 |
18 | args = ...
19 | argv = args['argv']
20 | pool = argv[1]
21 |
22 | for i = 1,4 do
23 | assert(zfs.exists(argv[i]))
24 | end
25 |
26 | assert(not zfs.exists(pool .. '/notadataset'))
27 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_overflow.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | #
20 | # DESCRIPTION:
21 | # Overflowing a 64-bit integer should wrap around.
22 | #
23 |
24 | verify_runnable "global"
25 |
26 | log_assert "overflowing a 64-bit integer should wrap around"
27 |
28 | log_must_program $TESTPOOL - <<-EOF
29 | assert(18446744073709551615 + 1 == (-18446744073709551616))
30 | EOF
31 |
32 | log_pass "overflowing a 64-bit integer should wrap around"
33 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | #
20 | # DESCRIPTION:
21 | # Running a large program file should work correctly.
22 | #
23 |
24 | verify_runnable "global"
25 |
26 | log_assert "Running a large program file should work correctly."
27 |
28 | log_must_program $TESTPOOL $ZCP_ROOT/lua_core/tst.large_prog.zcp
29 |
30 | log_pass "Running a large program file should work correctly."
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.out:
--------------------------------------------------------------------------------
1 | Channel program fully executed with no return value.
2 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | verify_runnable "global"
20 |
21 | arch=$(uname -m)
22 |
23 | if [[ "$arch" == "sparc64" ]]; then
24 | log_unsupported "May cause stack overflow on sparc64 due to recursion"
25 | else
26 | log_mustnot_checkerror_program "too many C levels" \
27 | $TESTPOOL $ZCP_ROOT/lua_core/tst.nested_neg.zcp
28 |
29 | log_pass "Too many nested lua statements fail cleanly."
30 | fi
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | verify_runnable "global"
20 |
21 | log_must_program $TESTPOOL $ZCP_ROOT/lua_core/tst.nested_pos.zcp
22 |
23 | log_pass "Nested lua statements work correctly."
24 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nvlist_to_lua.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | verify_runnable "global"
20 |
21 | #
22 | # DESCRIPTION:
23 | # run C program which tests passing different nvlists to lua
24 | #
25 |
26 | log_assert "nvlist arguments can be passed to LUA."
27 |
28 | log_must nvlist_to_lua $TESTPOOL
29 |
30 | log_pass "nvlist arguments can be passed to LUA."
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016 by Delphix. All rights reserved.
14 | --
15 |
16 | -- Test recursion in LUA. Deep recursion should work because it does
17 | -- not use the C stack. The LUA stack is is allocated from the kernel's
18 | -- heap, up to the specified memory limit.
19 |
20 | arg = ...
21 | argv = arg["argv"]
22 |
23 | function f (x)
24 | if (x == 0) then
25 | return x
26 | end
27 | return f(x-1) + 1
28 | end
29 |
30 | r = f(argv[1])
31 | return r
32 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_neg.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | verify_runnable "global"
20 |
21 | log_mustnot_checkerror_program "Memory limit exhausted" \
22 | $TESTPOOL $ZCP_ROOT/lua_core/tst.recursive.zcp 10000000
23 |
24 | log_pass "Nearly-infinite recursive LUA calls fail cleanly."
25 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_pos.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | verify_runnable "global"
20 |
21 | log_must_program $TESTPOOL $ZCP_ROOT/lua_core/tst.recursive.zcp 10000
22 |
23 | log_pass "Deeply recursive LUA calls succeed."
24 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016, 2017 by Delphix. All rights reserved.
14 | --
15 |
16 | basestring = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" ..
17 | "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
18 |
19 | ret = {}
20 | for i=1,5000 do
21 | table.insert(ret, basestring)
22 | end
23 |
24 | return ret
25 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/tests/functional/channel_program/channel_common.kshlib
18 |
19 | verify_runnable "global"
20 |
21 | #
22 | # DESCRIPTION:
23 | # Returning a recursive table should fail gracefully
24 | #
25 |
26 | verify_runnable "both"
27 |
28 | log_assert "Returning a recursive table should fail gracefully."
29 |
30 | log_mustnot_checkerror_program "Maximum table depth" \
31 | $TESTPOOL $ZCP_ROOT/lua_core/tst.return_recursive_table.zcp
32 |
33 | log_pass "Returning a recursive table should fail gracefully."
34 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016 by Delphix. All rights reserved.
14 | --
15 |
16 | -- This program returns a self-referential data structure.
17 |
18 | a = {}
19 | a["key"] = "val"
20 | a["self"] = a
21 | return a
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016 by Delphix. All rights reserved.
14 | --
15 |
16 | -- This program runs forever (until timed out).
17 |
18 | i = 1;
19 | while true do
20 | i = i + 1
21 | end;
22 | return i
23 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/include/libtest.shlib
18 |
19 | default_cleanup
20 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2016 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/include/libtest.shlib
18 |
19 | DISK=${DISKS%% *}
20 |
21 | default_setup ${DISK}
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.out:
--------------------------------------------------------------------------------
1 | Channel program fully executed with return value:
2 | return:
3 | 1:
4 | 2:
5 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.out:
--------------------------------------------------------------------------------
1 | Channel program fully executed with return value:
2 | return:
3 | 1:
4 | 2:
5 | 3:
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.out:
--------------------------------------------------------------------------------
1 | Channel program fully executed with return value:
2 | return:
3 | 1:
4 | 2:
5 | 3:
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016 by Delphix. All rights reserved.
14 | --
15 |
16 | -- This program should be invoked as "zfs program "
17 |
18 | args = ...
19 | argv = args["argv"]
20 | err, desc = zfs.sync.promote(argv[1])
21 | assert(err == EEXIST)
22 | assert(#desc == 1)
23 | assert(desc[1] == "promote_conflict_snap")
24 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016, 2017 by Delphix. All rights reserved.
14 | --
15 |
16 | args = ...
17 | argv = args["argv"]
18 |
19 | assert(zfs.sync.snapshot(argv[1] .. "@snap1") == 0)
20 | assert(zfs.sync.destroy(argv[1] .. "@snap1") == 0)
21 |
22 | for s in zfs.list.snapshots(argv[1]) do
23 | assert(false)
24 | end
25 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016, 2017 by Delphix. All rights reserved.
14 | --
15 |
16 | args = ...
17 | argv = args["argv"]
18 | fs = argv[1]
19 | snap = argv[2]
20 |
21 | function snapshot_recursive(root)
22 | assert(zfs.sync.snapshot(root .. "@" .. snap) == 0)
23 | for child in zfs.list.children(root) do
24 | snapshot_recursive(child)
25 | end
26 | end
27 |
28 | snapshot_recursive(fs)
29 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.zcp:
--------------------------------------------------------------------------------
1 | --
2 | -- This file and its contents are supplied under the terms of the
3 | -- Common Development and Distribution License ("CDDL"), version 1.0.
4 | -- You may only use this file in accordance with the terms of version
5 | -- 1.0 of the CDDL.
6 | --
7 | -- A full copy of the text of the CDDL should have accompanied this
8 | -- source. A copy of the CDDL is also available via the Internet at
9 | -- http://www.illumos.org/license/CDDL.
10 | --
11 |
12 | --
13 | -- Copyright (c) 2016, 2017 by Delphix. All rights reserved.
14 | --
15 |
16 | -- This program should be invoked as "zfs program "
17 |
18 | args = ...
19 | argv = args["argv"]
20 | assert(zfs.sync.snapshot(argv[1] .. "@" .. argv[2]) == 0)
21 | snaps = {}
22 | for s in zfs.list.snapshots(argv[1]) do
23 | table.insert(snaps, s)
24 | end
25 | assert(#snaps == 1)
26 | assert(snaps[1] == (argv[1] .. "@" .. argv[2]))
27 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/Makefile.am:
--------------------------------------------------------------------------------
1 | pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_change-key
2 | dist_pkgdata_SCRIPTS = \
3 | setup.ksh \
4 | cleanup.ksh \
5 | zfs_change-key.ksh \
6 | zfs_change-key_child.ksh \
7 | zfs_change-key_inherit.ksh \
8 | zfs_change-key_format.ksh \
9 | zfs_change-key_load.ksh \
10 | zfs_change-key_location.ksh \
11 | zfs_change-key_pbkdf2iters.ksh
12 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am:
--------------------------------------------------------------------------------
1 | pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_load-key
2 | dist_pkgdata_SCRIPTS = \
3 | zfs_load-key.cfg \
4 | setup.ksh \
5 | cleanup.ksh \
6 | zfs_load-key_common.kshlib \
7 | zfs_load-key.ksh \
8 | zfs_load-key_all.ksh \
9 | zfs_load-key_file.ksh \
10 | zfs_load-key_location.ksh \
11 | zfs_load-key_noop.ksh \
12 | zfs_load-key_recursive.ksh
13 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg:
--------------------------------------------------------------------------------
1 | #
2 | # CDDL HEADER START
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 | # CDDL HEADER END
14 | #
15 |
16 | #
17 | # Copyright (c) 2017 Datto, Inc. All rights reserved.
18 | #
19 |
20 | export PASSPHRASE="password"
21 | export PASSPHRASE1="password1"
22 | export PASSPHRASE2="password2"
23 | export HEXKEY="000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F"
24 | export HEXKEY1="201F1E1D1C1B1A191817161514131211100F0E0D0C0B0A090807060504030201"
25 | export RAWKEY="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
26 | export RAWKEY1="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
27 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_program/Makefile.am:
--------------------------------------------------------------------------------
1 | pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_program
2 | dist_pkgdata_SCRIPTS = \
3 | setup.ksh \
4 | cleanup.ksh \
5 | zfs_program_json.ksh
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_remap/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2012, 2016 by Delphix. All rights reserved.
14 | #
15 |
16 | include $(SRC)/Makefile.master
17 |
18 | ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19 | TARGETDIR = $(ROOTOPTPKG)/tests/functional/cli_root/zfs_remap
20 |
21 | include $(SRC)/test/zfs-tests/Makefile.com
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_remap/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright 2018, loli10K . All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/include/libtest.shlib
18 |
19 | default_cleanup
20 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_remap/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright 2018, loli10K . All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/include/libtest.shlib
18 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_share/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/Makefile.am:
--------------------------------------------------------------------------------
1 | pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_unload-key
2 | dist_pkgdata_SCRIPTS = \
3 | setup.ksh \
4 | cleanup.ksh \
5 | zfs_unload-key.ksh \
6 | zfs_unload-key_all.ksh \
7 | zfs_unload-key_recursive.ksh
8 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_clear/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_export/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/missing_ivset.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/missing_ivset.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/unclean_export.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/unclean_export.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/cryptv0.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/cryptv0.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2016 by Delphix. All rights reserved.
14 | #
15 |
16 | include $(SRC)/Makefile.master
17 |
18 | ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19 | TARGETDIR = $(ROOTOPTPKG)/tests/functional/cli_root/zpool_initialize
20 |
21 | include $(SRC)/test/zfs-tests/Makefile.com
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright (c) 2016 by Delphix. All rights reserved.
25 | #
26 |
27 | . $STF_SUITE/include/libtest.shlib
28 |
29 | verify_runnable "global"
30 |
31 | default_cleanup
32 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2016, 2017 by Intel Corporation. All rights reserved.
16 | # Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
17 | #
18 |
19 | . $STF_SUITE/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib
20 |
21 | verify_runnable "global"
22 |
23 | cleanup_devices $DISKS
24 |
25 | # Unplug the disk and remove scsi_debug module
26 | if is_linux; then
27 | for SDDEVICE in $(get_debug_device); do
28 | unplug $SDDEVICE
29 | done
30 | modprobe -r scsi_debug
31 | fi
32 |
33 | log_pass
34 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2016, 2017 by Intel Corporation. All rights reserved.
16 | # Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
17 | #
18 |
19 | . $STF_SUITE/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg
20 |
21 | verify_runnable "global"
22 |
23 | # Create scsi_debug devices for the reopen tests
24 | if is_linux; then
25 | load_scsi_debug $SDSIZE $SDHOSTS $SDTGTS $SDLUNS
26 | else
27 | log_unsupported "scsi debug module unsupported"
28 | fi
29 |
30 | log_pass
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_status/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/Makefile.am:
--------------------------------------------------------------------------------
1 | pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_trim
2 | dist_pkgdata_SCRIPTS = \
3 | setup.ksh \
4 | cleanup.ksh \
5 | zpool_trim.kshlib \
6 | zpool_trim_attach_detach_add_remove.ksh \
7 | zpool_trim_import_export.ksh \
8 | zpool_trim_multiple.ksh \
9 | zpool_trim_neg.ksh \
10 | zpool_trim_offline_export_import_online.ksh \
11 | zpool_trim_online_offline.ksh \
12 | zpool_trim_partial.ksh \
13 | zpool_trim_rate.ksh \
14 | zpool_trim_rate_neg.ksh \
15 | zpool_trim_secure.ksh \
16 | zpool_trim_split.ksh \
17 | zpool_trim_start_and_cancel_neg.ksh \
18 | zpool_trim_start_and_cancel_pos.ksh \
19 | zpool_trim_suspend_resume.ksh \
20 | zpool_trim_unsupported_vdevs.ksh \
21 | zpool_trim_verify_checksums.ksh \
22 | zpool_trim_verify_trimmed.ksh
23 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2019 by Tim Chase. All rights reserved.
19 | # Copyright (c) 2019 Lawrence Livermore National Security, LLC.
20 | #
21 |
22 | . $STF_SUITE/include/libtest.shlib
23 |
24 | verify_runnable "global"
25 |
26 | if poolexists $TESTPOOL; then
27 | destroy_pool $TESTPOOL
28 | fi
29 |
30 | if poolexists $TESTPOOL1; then
31 | destroy_pool $TESTPOOL1
32 | fi
33 |
34 | default_cleanup
35 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-broken-mirror1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-broken-mirror1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-broken-mirror2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-broken-mirror2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v10.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v10.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v11.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v11.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v12.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v12.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v13.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v13.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v14.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v14.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v15.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v15.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz21.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz21.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz22.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz22.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz23.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz23.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe1.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe1.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe2.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe2.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe3.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe3.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v4.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v4.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v5.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v5.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v6.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v6.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v7.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v7.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v8.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v8.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v9.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v9.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v999.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v999.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-vBROKEN.dat.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-vBROKEN.dat.bz2
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/ctime/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | ctime_001_pos_PROGRAMS = ctime_001_pos
4 | ctime_001_pos_SOURCES = ctime_001_pos.c
5 | ctime_001_posdir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/exec/Makefile.am:
--------------------------------------------------------------------------------
1 | include $(top_srcdir)/config/Rules.am
2 |
3 | mmap_exec_PROGRAMS = mmap_exec
4 | mmap_exec_SOURCES = mmap_exec.c
5 | mmap_execdir = $(srcdir)
6 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/features/large_dnode/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright (c) 2016 by Lawrence Livermore National Security, LLC.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . $STF_SUITE/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/history/i386.migratedpool.DAT.Z:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/history/i386.migratedpool.DAT.Z
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/history/i386.orig_history.txt:
--------------------------------------------------------------------------------
1 | History for 'history_pool':
2 | 2006-10-20.13:18:37 zpool create history_pool /var/tmp/i386.migratedpool.DAT
3 | 2006-10-20.13:18:37 zfs create history_pool/fs
4 | 2006-10-20.13:18:37 zfs set compression=on history_pool/fs
5 | 2006-10-20.13:18:37 zfs set checksum=on history_pool
6 | 2006-10-20.13:18:37 zfs snapshot history_pool/fs@snap
7 | 2006-10-20.13:18:37 zfs clone history_pool/fs@snap history_pool/clone
8 | 2006-10-20.13:18:37 zfs promote history_pool/clone
9 | 2006-10-20.13:18:37 zfs promote history_pool/fs
10 | 2006-10-20.13:18:37 zfs destroy -r -R history_pool/fs
11 | 2006-10-20.13:18:37 zpool export history_pool
12 | 2007-04-05.00:05:38 zpool upgrade history_pool
13 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/history/sparc.migratedpool.DAT.Z:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/history/sparc.migratedpool.DAT.Z
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/history/sparc.orig_history.txt:
--------------------------------------------------------------------------------
1 | History for 'history_pool':
2 | 2006-10-27.03:13:47 zpool create history_pool /var/tmp/sparc.migratedpool.DAT
3 | 2006-10-27.03:13:48 zfs create history_pool/fs
4 | 2006-10-27.03:13:48 zfs set compression=on history_pool/fs
5 | 2006-10-27.03:13:48 zfs set checksum=on history_pool
6 | 2006-10-27.03:13:48 zfs snapshot history_pool/fs@snap
7 | 2006-10-27.03:13:48 zfs clone history_pool/fs@snap history_pool/clone
8 | 2006-10-27.03:13:49 zfs promote history_pool/clone
9 | 2006-10-27.03:13:49 zfs promote history_pool/fs
10 | 2006-10-27.03:13:49 zfs destroy -r -R history_pool/fs
11 | 2006-10-27.03:13:49 zpool export history_pool
12 | 2007-04-05.00:41:55 zpool upgrade history_pool
13 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/history/zfs-pool-v4.dat.Z:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/ZFSin/zfs/tests/zfs-tests/tests/functional/history/zfs-pool-v4.dat.Z
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/hkdf/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2017 by Datto Inc. All rights reserved.
16 | #
17 |
18 | . $STF_SUITE/include/libtest.shlib
19 |
20 | verify_runnable "global"
21 |
22 | log_pass
23 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/hkdf/run_hkdf_test.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2017 by Datto Inc. All rights reserved.
16 | #
17 |
18 | . $STF_SUITE/include/libtest.shlib
19 |
20 | #
21 | # DESCRIPTION:
22 | # Call the hkdf_test tool to test ZFS's HKDF implementation against
23 | # a few test vectors.
24 | #
25 |
26 | log_assert "Run the tests for the HKDF algorithm."
27 |
28 | log_must $STF_SUITE/tests/functional/hkdf/hkdf_test
29 |
30 | log_pass "HKDF tests pass."
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/hkdf/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2017 by Datto Inc. All rights reserved.
16 | #
17 |
18 | . $STF_SUITE/include/libtest.shlib
19 |
20 | verify_runnable "global"
21 |
22 | log_pass
23 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/mdb/libzfs_input.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # This file and its contents are supplied under the terms of the
4 | # Common Development and Distribution License ("CDDL"), version 1.0.
5 | # You may only use this file in accordance with the terms of version
6 | # 1.0 of the CDDL.
7 | #
8 | # A full copy of the text of the CDDL should have accompanied this
9 | # source. A copy of the CDDL is also available via the Internet at
10 | # http://www.illumos.org/license/CDDL.
11 | #
12 |
13 | #
14 | # Copyright (c) 2018 by Delphix. All rights reserved.
15 | #
16 |
17 | . $STF_SUITE/include/libtest.shlib
18 |
19 | verify_runnable "global"
20 |
21 | #
22 | # DESCRIPTION:
23 | # run C program to test passing different input to libzfs ioctls
24 | #
25 |
26 | log_assert "libzfs ioctls handle invalid input arguments"
27 |
28 | log_must libzfs_input_check $TESTPOOL
29 |
30 | log_pass "libzfs ioctls handle invalid input arguments"
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/mmp/Makefile.am:
--------------------------------------------------------------------------------
1 | pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/mmp
2 | dist_pkgdata_SCRIPTS = \
3 | multihost_history.ksh \
4 | mmp_on_thread.ksh \
5 | mmp_on_uberblocks.ksh \
6 | mmp_on_off.ksh \
7 | mmp_interval.ksh \
8 | mmp_active_import.ksh \
9 | mmp_inactive_import.ksh \
10 | mmp_exported_import.ksh \
11 | mmp_write_uberblocks.ksh \
12 | mmp_reset_interval.ksh \
13 | setup.ksh \
14 | cleanup.ksh \
15 | mmp.kshlib \
16 | mmp.cfg
17 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/mmp/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2017 by Lawrence Livermore National Security, LLC.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 | . $STF_SUITE/tests/functional/mmp/mmp.cfg
23 |
24 | verify_runnable "global"
25 |
26 | log_must set_tunable64 zfs_multihost_history 0
27 |
28 | log_pass "mmp cleanup passed"
29 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/mmp/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2017 by Lawrence Livermore National Security, LLC.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 | . $STF_SUITE/tests/functional/mmp/mmp.cfg
23 |
24 | verify_runnable "global"
25 |
26 | if [ -e $HOSTID_FILE ]; then
27 | log_unsupported "System has existing $HOSTID_FILE file"
28 | fi
29 |
30 | log_must set_tunable64 zfs_multihost_history $MMP_HISTORY
31 |
32 | log_pass "mmp setup pass"
33 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/nopwrite/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2012 by Delphix. All rights reserved.
16 | #
17 |
18 | . ${STF_SUITE}/include/libtest.shlib
19 |
20 | default_cleanup
21 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/nopwrite/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2012 by Delphix. All rights reserved.
16 | #
17 |
18 | . ${STF_SUITE}/include/libtest.shlib
19 | . ${STF_SUITE}/tests/functional/nopwrite/nopwrite.shlib
20 |
21 | disk=${DISKS%% *}
22 |
23 | default_volume_setup $disk
24 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/pool_checkpoint/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2017 by Delphix. All rights reserved.
14 | #
15 |
16 | include $(SRC)/Makefile.master
17 |
18 | ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19 | TARGETDIR = $(ROOTOPTPKG)/tests/functional/pool_checkpoint
20 |
21 | include $(SRC)/test/zfs-tests/Makefile.com
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/pool_checkpoint/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2018 by Delphix. All rights reserved.
16 | #
17 |
18 | . $STF_SUITE/tests/functional/pool_checkpoint/pool_checkpoint.kshlib
19 |
20 | verify_runnable "global"
21 |
22 | test_group_destroy_saved_pool
23 | log_pass
24 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/pool_checkpoint/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 |
3 | #
4 | # This file and its contents are supplied under the terms of the
5 | # Common Development and Distribution License ("CDDL"), version 1.0.
6 | # You may only use this file in accordance with the terms of version
7 | # 1.0 of the CDDL.
8 | #
9 | # A full copy of the text of the CDDL should have accompanied this
10 | # source. A copy of the CDDL is also available via the Internet at
11 | # http://www.illumos.org/license/CDDL.
12 | #
13 |
14 | #
15 | # Copyright (c) 2018 by Delphix. All rights reserved.
16 | #
17 |
18 | . $STF_SUITE/tests/functional/pool_checkpoint/pool_checkpoint.kshlib
19 |
20 | verify_runnable "global"
21 |
22 | test_group_premake_nested_pools
23 | log_onexit cleanup_nested_pools
24 |
25 | log_pass "Successfully saved pool to be reused for tests in the group."
26 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/refreserv/refreserv.cfg:
--------------------------------------------------------------------------------
1 | #
2 | # CDDL HEADER START
3 | #
4 | # The contents of this file are subject to the terms of the
5 | # Common Development and Distribution License (the "License").
6 | # You may not use this file except in compliance with the License.
7 | #
8 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | # or http://www.opensolaris.org/os/licensing.
10 | # See the License for the specific language governing permissions
11 | # and limitations under the License.
12 | #
13 | # When distributing Covered Code, include this CDDL HEADER in each
14 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | # If applicable, add the following below this CDDL HEADER, with the
16 | # fields enclosed by brackets "[]" replaced with your own identifying
17 | # information: Portions Copyright [yyyy] [name of copyright owner]
18 | #
19 | # CDDL HEADER END
20 | #
21 |
22 | #
23 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 | # Use is subject to license terms.
25 | #
26 |
27 | #
28 | # Copyright (c) 2013 by Delphix. All rights reserved.
29 | #
30 |
31 | export TESTFILE=testfile
32 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/removal/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2014 by Delphix. All rights reserved.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 |
23 | default_cleanup
24 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/removal/removal_with_create_fs.ksh:
--------------------------------------------------------------------------------
1 | #! /bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2014, 2017 by Delphix. All rights reserved.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 | . $STF_SUITE/tests/functional/removal/removal.kshlib
23 |
24 | default_setup_noexit "$DISKS"
25 | log_onexit default_cleanup_noexit
26 |
27 | function callback
28 | {
29 | log_must zfs create $TESTPOOL/$TESTFS1
30 | log_must zfs destroy $TESTPOOL/$TESTFS1
31 | return 0
32 | }
33 |
34 | test_removal_with_operation callback
35 |
36 | log_pass "Can write to device during removal"
37 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/removal/removal_with_remap.ksh:
--------------------------------------------------------------------------------
1 | #! /bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2015, 2017 by Delphix. All rights reserved.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 | . $STF_SUITE/tests/functional/removal/removal.kshlib
23 |
24 | # N.B. The 'zfs remap' command has been disabled and may be removed.
25 | export ZFS_REMAP_ENABLED=YES
26 |
27 | default_setup_noexit "$DISKS"
28 | log_onexit default_cleanup_noexit
29 |
30 | test_removal_with_operation zfs remap $TESTPOOL/$TESTFS
31 |
32 | log_pass "Can remap a filesystem during removal"
33 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/removal/removal_with_remove.ksh:
--------------------------------------------------------------------------------
1 | #! /bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2014, 2017 by Delphix. All rights reserved.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 | . $STF_SUITE/tests/functional/removal/removal.kshlib
23 |
24 | default_setup_noexit "$DISKS"
25 | log_onexit default_cleanup_noexit
26 |
27 | function callback
28 | {
29 | log_mustnot zpool remove $TESTPOOL $NOTREMOVEDISK
30 | return 0
31 | }
32 |
33 | test_removal_with_operation callback
34 |
35 | log_pass "Cannot remove a disk during removal"
36 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh:
--------------------------------------------------------------------------------
1 | #! /bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2014, 2017 by Delphix. All rights reserved.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 | . $STF_SUITE/tests/functional/removal/removal.kshlib
23 |
24 | default_setup_noexit "$DISKS"
25 | log_onexit default_cleanup_noexit
26 |
27 | test_removal_with_operation zpool scrub $TESTPOOL
28 |
29 | log_pass "Can use scrub during removal"
30 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/removal/removal_with_send.ksh:
--------------------------------------------------------------------------------
1 | #! /bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2014, 2017 by Delphix. All rights reserved.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 | . $STF_SUITE/tests/functional/removal/removal.kshlib
23 |
24 | default_setup_noexit "$DISKS"
25 | log_onexit default_cleanup_noexit
26 |
27 | function callback
28 | {
29 | create_snapshot $TESTPOOL/$TESTFS $TESTSNAP
30 | log_must ksh -c \
31 | "zfs send $TESTPOOL/$TESTFS@$TESTSNAP >/dev/null"
32 | return 0
33 | }
34 |
35 | test_removal_with_operation callback
36 |
37 | log_pass "Can use send during removal"
38 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/removal/removal_with_snapshot.ksh:
--------------------------------------------------------------------------------
1 | #! /bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2014, 2017 by Delphix. All rights reserved.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 | . $STF_SUITE/tests/functional/removal/removal.kshlib
23 |
24 | default_setup_noexit "$DISKS"
25 | log_onexit default_cleanup_noexit
26 |
27 | function callback
28 | {
29 | create_snapshot $TESTPOOL/$TESTFS $TESTSNAP
30 | destroy_snapshot $TESTPOOL/$TESTFS@$TESTSNAP
31 | return 0
32 | }
33 |
34 | test_removal_with_operation callback
35 |
36 | log_pass "Can create and destroy snapshot during removal"
37 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/removal/removal_with_write.ksh:
--------------------------------------------------------------------------------
1 | #! /bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2014 by Delphix. All rights reserved.
19 | #
20 |
21 | . $STF_SUITE/include/libtest.shlib
22 | . $STF_SUITE/tests/functional/removal/removal.kshlib
23 |
24 | default_setup_noexit "$DISKS"
25 | log_onexit default_cleanup_noexit
26 |
27 | function callback
28 | {
29 | return 0
30 | }
31 |
32 | test_removal_with_operation callback
33 |
34 | log_pass "Can write to device during removal"
35 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/trim/Makefile.am:
--------------------------------------------------------------------------------
1 | pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/trim
2 | dist_pkgdata_SCRIPTS = \
3 | setup.ksh \
4 | cleanup.ksh \
5 | trim.kshlib \
6 | trim.cfg \
7 | autotrim_integrity.ksh \
8 | autotrim_config.ksh \
9 | autotrim_trim_integrity.ksh \
10 | trim_integrity.ksh \
11 | trim_config.ksh
12 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/trim/setup.ksh:
--------------------------------------------------------------------------------
1 | #!/bin/ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # This file and its contents are supplied under the terms of the
6 | # Common Development and Distribution License ("CDDL"), version 1.0.
7 | # You may only use this file in accordance with the terms of version
8 | # 1.0 of the CDDL.
9 | #
10 | # A full copy of the text of the CDDL should have accompanied this
11 | # source. A copy of the CDDL is also available via the Internet at
12 | # http://www.illumos.org/license/CDDL.
13 | #
14 | # CDDL HEADER END
15 | #
16 |
17 | #
18 | # Copyright (c) 2019 by Tim Chase. All rights reserved.
19 | # Copyright (c) 2019 Lawrence Livermore National Security, LLC.
20 | #
21 |
22 | . $STF_SUITE/include/libtest.shlib
23 |
24 | verify_runnable "global"
25 |
26 | DISK1=${DISKS%% *}
27 |
28 | typeset -i max_discard=0
29 | if [[ -b $DEV_RDSKDIR/$DISK1 ]]; then
30 | max_discard=$(lsblk -Dbn $DEV_RDSKDIR/$DISK1 | awk '{ print $4; exit }')
31 | fi
32 |
33 | if test $max_discard -eq 0; then
34 | log_unsupported "DISKS do not support discard (TRIM/UNMAP)"
35 | fi
36 |
37 | log_pass
38 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/truncate/cleanup.ksh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ksh -p
2 | #
3 | # CDDL HEADER START
4 | #
5 | # The contents of this file are subject to the terms of the
6 | # Common Development and Distribution License (the "License").
7 | # You may not use this file except in compliance with the License.
8 | #
9 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 | # or http://www.opensolaris.org/os/licensing.
11 | # See the License for the specific language governing permissions
12 | # and limitations under the License.
13 | #
14 | # When distributing Covered Code, include this CDDL HEADER in each
15 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 | # If applicable, add the following below this CDDL HEADER, with the
17 | # fields enclosed by brackets "[]" replaced with your own identifying
18 | # information: Portions Copyright [yyyy] [name of copyright owner]
19 | #
20 | # CDDL HEADER END
21 | #
22 |
23 | #
24 | # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 | # Use is subject to license terms.
26 | #
27 |
28 | . ${STF_SUITE}/include/libtest.shlib
29 |
30 | default_cleanup
31 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/functional/write_dirs/default.cfg:
--------------------------------------------------------------------------------
1 | #
2 | # CDDL HEADER START
3 | #
4 | # The contents of this file are subject to the terms of the
5 | # Common Development and Distribution License (the "License").
6 | # You may not use this file except in compliance with the License.
7 | #
8 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 | # or http://www.opensolaris.org/os/licensing.
10 | # See the License for the specific language governing permissions
11 | # and limitations under the License.
12 | #
13 | # When distributing Covered Code, include this CDDL HEADER in each
14 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 | # If applicable, add the following below this CDDL HEADER, with the
16 | # fields enclosed by brackets "[]" replaced with your own identifying
17 | # information: Portions Copyright [yyyy] [name of copyright owner]
18 | #
19 | # CDDL HEADER END
20 | #
21 |
22 | #
23 | # Copyright (c) 2014 by Turbo Fredriksson .
24 | # All rights reserved.
25 | #
26 |
27 | export TMPFILE=/var/tmp/clean_mirror.cfg
28 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/longevity/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2017 by Delphix. All rights reserved.
14 | #
15 |
16 | include $(SRC)/Makefile.master
17 |
18 | ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19 | TARGETDIR = $(ROOTOPTPKG)/tests/longevity
20 |
21 | include $(SRC)/test/zfs-tests/Makefile.com
22 |
--------------------------------------------------------------------------------
/ZFSin/zfs/tests/zfs-tests/tests/stress/races/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # This file and its contents are supplied under the terms of the
3 | # Common Development and Distribution License ("CDDL"), version 1.0.
4 | # You may only use this file in accordance with the terms of version
5 | # 1.0 of the CDDL.
6 | #
7 | # A full copy of the text of the CDDL should have accompanied this
8 | # source. A copy of the CDDL is also available via the Internet at
9 | # http://www.illumos.org/license/CDDL.
10 | #
11 |
12 | #
13 | # Copyright (c) 2015 by Delphix. All rights reserved.
14 | #
15 |
16 | include $(SRC)/Makefile.master
17 |
18 | ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19 | TESTDIR = $(ROOTOPTPKG)/tests/stress/races
20 |
21 | PROGS = remove_file_while_remap
22 |
23 | CMDS = $(PROGS:%=$(TESTDIR)/%)
24 | $(CMDS) := FILEMODE = 0555
25 |
26 | all lint clean clobber:
27 |
28 | install: $(CMDS)
29 |
30 | $(CMDS): $(TESTDIR)
31 |
32 | $(TESTDIR):
33 | $(INS.dir)
34 |
35 | $(TESTDIR)/%: %.ksh
36 | $(INS.rename)
37 |
38 | $(TESTDIR)/%: %
39 | $(INS.file)
40 |
--------------------------------------------------------------------------------
/appveyor.yml:
--------------------------------------------------------------------------------
1 | version: 1.0.{build}
2 | image: Visual Studio 2019
3 | configuration: Release
4 | platform: x64
5 | skip_branch_with_pr: true
6 | install:
7 | - cmd: set PATH="C:\Program Files (x86)\Inno Setup 6";%PATH%
8 | build:
9 | parallel: true
10 | verbosity: minimal
11 | after_build:
12 | - cmd: iscc "C:\projects\zfsin\zfsinstaller\ZFSInstall-release.iss" "/Ssigntoola=C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe sign /a /t http://timestamp.digicert.com /fd sha1 /d $qOpenZFS on Windows$q $f" "/Ssigntoolb=C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe sign /a /as /tr http://timestamp.digicert.com /td sha256 /fd sha256 /d $qOpenZFS on Windows$q $f"
13 | artifacts:
14 | - path: OpenZFSOnWindows-release.exe
15 |
--------------------------------------------------------------------------------
/zfsinstaller/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | um_add_executable(zfsinstaller
2 | zfsinstaller.cpp
3 | zfsinstaller.h
4 | )
5 | target_compile_definitions(zfsinstaller PRIVATE UNICODE _UNICODE)
6 | target_link_libraries(zfsinstaller setupapi libspl)
7 | install(TARGETS zfsinstaller RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/driver")
8 | install(FILES $
9 | DESTINATION "${CMAKE_INSTALL_BINDIR}/driver"
10 | OPTIONAL
11 | )
--------------------------------------------------------------------------------
/zfsinstaller/ZFSinlogo.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/zfsinstaller/ZFSinlogo.ico
--------------------------------------------------------------------------------
/zfsinstaller/large.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/zfsinstaller/large.bmp
--------------------------------------------------------------------------------
/zfsinstaller/openzfs-small.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/zfsinstaller/openzfs-small.bmp
--------------------------------------------------------------------------------
/zfsinstaller/readme.txt:
--------------------------------------------------------------------------------
1 |
2 | ** Open ZFS On Windows **
3 |
4 | ** THIS IS AN EARLY ALPHA OF OPEN ZFS **
5 |
6 | It is recommended that this software is only used on test VMs, with test POOLS
7 | and test DATA. The Developer(s) can not be held responsible if you lose your
8 | Windows, and/or data using this software. This is the wild west people,
9 | the edge of the frontier.
10 |
11 | Having said that, if you find yourself in a boot loop - when Windows 10 fails to
12 | boot two times in a row, you can enter the Advanced Console, and delete the
13 | ZFSin.SYS file from C:\Windows\Drivers to boot normally.
14 |
15 |
--------------------------------------------------------------------------------
/zfsinstaller/small.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openzfsonwindows/ZFSin/11c07218836ce755f99ba0dc0e6b4484bff6f6c8/zfsinstaller/small.bmp
--------------------------------------------------------------------------------