Searched refs:bootenv (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/sbin/bectl/
H A Dbectl.c204 char *atpos, *bootenv, *snapname; local
233 bootenv = *argv;
236 if (strchr(bootenv, ' ') != NULL)
239 else if ((atpos = strchr(bootenv, '@')) != NULL) {
245 err = be_snapshot(be, bootenv, atpos, recursive, NULL);
260 err = be_create_depth(be, bootenv, snapshot,
275 atpos, bootenv);
278 "Failed to create bootenv %s\n", bootenv);
281 "Failed to create bootenv
292 char *bootenv; local
320 char *bootenv; local
426 char *bootenv, *mountpoint; local
496 char *bootenv, *cmd; local
[all...]
H A Dbectl_jail.c240 char *bootenv, **jargv, *mountpoint; local
306 bootenv = argv[0];
318 if (be_mount(be, bootenv, mountpoint, mntflags, mnt_loc) != BE_ERR_SUCCESS) {
319 fprintf(stderr, "could not mount bootenv\n");
324 jailparam_add("host.hostname", bootenv);
367 jid = bectl_locate_jail(bootenv);
369 be_unmount(be, bootenv, 0);
432 /* looking for a jail that matches our bootenv path */
/freebsd-13-stable/lib/libbe/
H A Dbe_access.c235 be_mount(libbe_handle_t *lbh, const char *bootenv, const char *mountpoint, argument
245 if ((err = be_root_concat(lbh, bootenv, be)) != 0)
248 if ((err = be_exists(lbh, bootenv)) != 0)
291 be_unmount(libbe_handle_t *lbh, const char *bootenv, int flags) argument
298 if ((err = be_root_concat(lbh, bootenv, be)) != 0)
H A Dbe.c698 * example: say our new boot environment name is 'bootenv' and
701 * result should produce: 'zroot/ROOT/bootenv/data/set'
1014 be_export(libbe_handle_t *lbh, const char *bootenv, int fd) argument
1022 if ((err = be_snapshot(lbh, bootenv, NULL, true, snap_name)) != 0)
1039 be_import(libbe_handle_t *lbh, const char *bootenv, int fd) argument
1047 be_root_concat(lbh, bootenv, buf);
1248 be_activate(libbe_handle_t *lbh, const char *bootenv, bool temporary) argument
1256 be_root_concat(lbh, bootenv, be_path);
1270 /* Obtain bootenv zpool */
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dvdev_label.c979 abd_t *bootenv; local
1140 bootenv = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE);
1141 abd_zero(bootenv, VDEV_PAD_SIZE);
1160 vdev_label_write(zio, vd, l, bootenv,
1177 abd_free(bootenv);
1250 vdev_label_read_bootenv(vdev_t *rvd, nvlist_t *bootenv) argument
1258 ASSERT(bootenv);
1276 fnvlist_add_uint64(bootenv, BOOTENV_VERSION, VB_RAW);
1278 fnvlist_add_string(bootenv, GRUB_ENVMAP,
1286 fnvlist_merge(bootenv, confi
1320 vdev_boot_envblock_t *bootenv; local
[all...]
/freebsd-13-stable/sbin/bectl/tests/
H A Dbectl_test.sh512 for bootenv in "default" "target" "1234"; do
514 mountpoint="$(bectl -r ${zpool}/ROOT list -H | grep ${bootenv} | awk '{print $3}')"
/freebsd-13-stable/stand/lua/
H A Dcore.lua289 -- Currently selected bootenv is always first/default
290 -- On the rewinded list the bootenv may not exists

Completed in 71 milliseconds