| Package | Description |
|---|---|
| org.jvnet.solaris.libzfs |
High-level Java API to libzfs.
|
| org.jvnet.solaris.libzfs.jna |
Low level API to libzfs through JNA.
|
| org.jvnet.solaris.nvlist.jna |
| Modifier and Type | Method and Description |
|---|---|
protected nvlist_t |
ACLBuilder.PermissionBuilder.toNativeFormat(ZFSObject dataset) |
| Modifier and Type | Method and Description |
|---|---|
nvlist_t |
libzfs.zfs_get_user_props(zfs_handle_t handle) |
nvlist_t |
libzfs.zpool_find_import_activeok(libzfs_handle_t lib,
int argc,
com.sun.jna.ptr.PointerByReference argv) |
nvlist_t |
libzfs.zpool_find_import_byguid(libzfs_handle_t lib,
int argc,
com.sun.jna.ptr.PointerByReference argv,
long guid) |
nvlist_t |
libzfs.zpool_find_import_byname(libzfs_handle_t lib,
int argc,
com.sun.jna.ptr.PointerByReference argv,
String pool) |
nvlist_t |
libzfs.zpool_find_import_cached(libzfs_handle_t lib,
String cachefile,
String poolname,
long guid) |
nvlist_t |
libzfs.zpool_find_import(libzfs_handle_t lib,
int argc,
com.sun.jna.ptr.PointerByReference argv) |
nvlist_t |
libzfs.zpool_find_vdev_by_physpath(zpool_handle_t pool,
String ppath,
BooleanByReference avail_spare,
BooleanByReference l2cache,
BooleanByReference log) |
nvlist_t |
libzfs.zpool_find_vdev(zpool_handle_t pool,
String path,
BooleanByReference avail_spare,
BooleanByReference l2cache,
BooleanByReference log) |
nvlist_t |
libzfs.zpool_get_config(zpool_handle_t pool,
com.sun.jna.ptr.PointerByReference ppchNVList) |
| Modifier and Type | Method and Description |
|---|---|
int |
libzfs.zfs_clone(zfs_handle_t handle,
String name,
nvlist_t _3) |
int |
libzfs.zfs_create(libzfs_handle_t lib,
String name,
int type,
nvlist_t props) |
int |
libzfs.zfs_perm_remove(zfs_handle_t handle,
nvlist_t perms) |
int |
libzfs.zfs_perm_set(zfs_handle_t handle,
nvlist_t perms) |
int |
libzfs.zfs_snapshot(libzfs_handle_t lib,
String fullNameWithAtSnapShot,
boolean recursive,
nvlist_t props) |
int |
libzfs.zpool_add(zpool_handle_t pool,
nvlist_t _1) |
int |
libzfs.zpool_create(libzfs_handle_t lib,
String poolName,
nvlist_t nvroot,
nvlist_t props) |
int |
libzfs.zpool_import_props(libzfs_handle_t lib,
nvlist_t config,
String newname,
nvlist_t props,
BooleanByReference importfaulted) |
int |
libzfs.zpool_import_status(nvlist_t config,
com.sun.jna.ptr.PointerByReference misgid) |
int |
libzfs.zpool_import(libzfs_handle_t lib,
nvlist_t config,
String newname,
String altroot) |
int |
libzfs.zpool_vdev_attach(zpool_handle_t pool,
String old_disk,
String new_disk,
nvlist_t nvroot,
int replacing) |
String |
libzfs.zpool_vdev_name(libzfs_handle_t lib,
zpool_handle_t pool,
nvlist_t nv,
BooleanByReference verbose) |
| Modifier and Type | Method and Description |
|---|---|
int |
libzfs.zfs_build_perms(zfs_handle_t handle,
String who,
String perms,
int who_type,
int deleg_type,
PtrByReference<nvlist_t> ppchNVList)
Build a ZFS permission into a
nvlist_t format that it internally uses. |
| Modifier and Type | Method and Description |
|---|---|
static nvlist_t |
nvlist_t.alloc(int nvflag)
Allocates a new
nvlist_t. |
static nvlist_t |
nvlist_t.allocMap() |
nvlist_t |
nvlist_t.getNVList(String key) |
| Modifier and Type | Method and Description |
|---|---|
int |
libnvpair.nvlist_add_boolean_value(nvlist_t list,
String name,
boolean value) |
int |
libnvpair.nvlist_add_boolean(nvlist_t list,
String name) |
int |
libnvpair.nvlist_add_nvlist(nvlist_t list,
String key,
nvlist_t value) |
int |
libnvpair.nvlist_add_string(nvlist_t list,
String key,
String value) |
void |
libnvpair.nvlist_free(nvlist_t list) |
int |
libnvpair.nvlist_lookup_nvlist(nvlist_t list,
String name,
PtrByReference<nvlist_t> result) |
int |
libnvpair.nvlist_lookup_string(nvlist_t list,
String name,
com.sun.jna.ptr.PointerByReference result) |
void |
nvlist_t.put(String key,
nvlist_t value) |
| Modifier and Type | Method and Description |
|---|---|
int |
libnvpair.nvlist_alloc(PtrByReference<nvlist_t> result,
int nvflag,
int kmflag)
The nvlist_alloc() function allocates a new name-value pair list and
updates nvlp to point to the handle.
|
int |
libnvpair.nvlist_lookup_nvlist(nvlist_t list,
String name,
PtrByReference<nvlist_t> result) |
Copyright © 2008–2017. All rights reserved.