Changeset View
Changeset View
Standalone View
Standalone View
lib/libbe/libbe.3
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
.Pp | .Pp | ||||
.Ft int | .Ft int | ||||
.Fn be_create_from_existing "libbe_handle_t *hdl" "const char *be_name" "const char *be_origin" | .Fn be_create_from_existing "libbe_handle_t *hdl" "const char *be_name" "const char *be_origin" | ||||
.Pp | .Pp | ||||
.Ft int | .Ft int | ||||
.Fn be_create_from_existing_snap "libbe_handle_t *hdl" "const char *be_name" "const char *snap" | .Fn be_create_from_existing_snap "libbe_handle_t *hdl" "const char *be_name" "const char *snap" | ||||
.Pp | .Pp | ||||
.Ft int | .Ft int | ||||
.Fn be_create_shallow "libbe_handle_t *hdl" "const char *be_name" "const char *snap" | |||||
.Pp | |||||
.Ft int | |||||
.Fn be_rename "libbe_handle_t *hdl" "const char *be_old" "const char *be_new" | .Fn be_rename "libbe_handle_t *hdl" "const char *be_old" "const char *be_new" | ||||
.Pp | .Pp | ||||
.Ft int | .Ft int | ||||
.Fn be_activate "libbe_handle_t *hdl" "const char *be_name" "bool temporary" | .Fn be_activate "libbe_handle_t *hdl" "const char *be_name" "bool temporary" | ||||
.Ft int | .Ft int | ||||
.Fn be_destroy "libbe_handle_t *hdl" "const char *be_name" "int options" | .Fn be_destroy "libbe_handle_t *hdl" "const char *be_name" "int options" | ||||
.Pp | .Pp | ||||
.Ft void | .Ft void | ||||
▲ Show 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | |||||
.Pp | .Pp | ||||
The | The | ||||
.Fn be_root_path | .Fn be_root_path | ||||
function returns the boot environment root path. | function returns the boot environment root path. | ||||
.Pp | .Pp | ||||
The | The | ||||
.Fn be_create | .Fn be_create | ||||
function creates a boot environment with the given name. | function creates a boot environment with the given name. | ||||
It will be created from a snapshot of the currently booted boot environment. | The new boot environment will be created from a recursive snapshot of the currently | ||||
booted boot environment. | |||||
.Pp | .Pp | ||||
The | The | ||||
.Fn be_create_from_existing | .Fn be_create_from_existing | ||||
function creates a boot environment with the given name from the name of an | function creates a boot environment with the given name from the name of an | ||||
existing boot environment. | existing boot environment. A recursive snapshot will be made of the origin | ||||
A snapshot will be made of the base boot environment, and the new boot | boot environment, and the new boot environment will be created from that. | ||||
environment will be created from that. | |||||
.Pp | .Pp | ||||
The | The | ||||
.Fn be_create_from_existing_snap | .Fn be_create_from_existing_snap | ||||
function creates a boot environment with the given name from an existing | function creates a recursive boot environment with the given name from an existing | ||||
snapshot. | snapshot. | ||||
.Pp | |||||
The | |||||
.Fn be_create_shallow | |||||
function creates a non-recursive boot environment with the given name from | |||||
an existing snapshot. | |||||
.Pp | .Pp | ||||
The | The | ||||
.Fn be_rename | .Fn be_rename | ||||
function renames a boot environment without unmounting it, as if renamed with | function renames a boot environment without unmounting it, as if renamed with | ||||
the | the | ||||
.Fl u | .Fl u | ||||
argument were passed to | argument were passed to | ||||
.Nm zfs | .Nm zfs | ||||
▲ Show 20 Lines • Show All 268 Lines • Show Last 20 Lines |