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

/freebsd-11-stable/sbin/bectl/
H A Dbectl.c83 "\t bootenv [utility [argument ...]]\n"
87 "\tbectl {ujail | unjail} {jailID | jailName} bootenv\n"
189 char *atpos, *bootenv, *snapname; local
218 bootenv = *argv;
221 if ((atpos = strchr(bootenv, '@')) != NULL) {
227 err = be_snapshot(be, bootenv, atpos, recursive, NULL);
242 err = be_create_depth(be, bootenv, snapshot,
253 atpos, bootenv);
256 "failed to create bootenv %s\n", bootenv);
270 char *bootenv; local
298 char *bootenv; local
404 char *bootenv, *mountpoint; local
474 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);
369 jid = bectl_locate_jail(bootenv);
371 be_unmount(be, bootenv, 0);
434 /* looking for a jail that matches our bootenv path */
/freebsd-11-stable/lib/libbe/
H A Dbe_access.c235 be_mount(libbe_handle_t *lbh, char *bootenv, char *mountpoint, int flags, 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, char *bootenv, int flags) argument
298 if ((err = be_root_concat(lbh, bootenv, be)) != 0)
H A Dbe.c694 * example: say our new boot environment name is 'bootenv' and
697 * result should produce: 'zroot/ROOT/bootenv/data/set'
1011 be_export(libbe_handle_t *lbh, const char *bootenv, int fd) argument
1019 if ((err = be_snapshot(lbh, bootenv, NULL, true, snap_name)) != 0)
1036 be_import(libbe_handle_t *lbh, const char *bootenv, int fd) argument
1044 be_root_concat(lbh, bootenv, buf);
1268 be_activate(libbe_handle_t *lbh, const char *bootenv, bool temporary) argument
1278 be_root_concat(lbh, bootenv, be_path);
1308 /* Obtain bootenv zpool */
/freebsd-11-stable/sbin/bectl/tests/
H A Dbectl_test.sh420 for bootenv in "default" "target" "1234"; do
422 mountpoint="$(bectl -r ${zpool}/ROOT list -H | grep ${bootenv} | awk '{print $3}')"
/freebsd-11-stable/stand/lua/
H A Dcore.lua283 -- Currently selected bootenv is always first/default

Completed in 131 milliseconds