Lines Matching defs:bootenv
204 char *atpos, *bootenv, *snapname;
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 %s from snapshot %s\n",
282 bootenv, snapname);
292 char *bootenv;
304 bootenv = argv[1];
311 be_export(be, bootenv, STDOUT_FILENO);
320 char *bootenv;
333 bootenv = argv[1];
340 err = be_import(be, bootenv, STDIN_FILENO);
426 char *bootenv, *mountpoint;
441 bootenv = argv[1];
444 err = be_mount(be, bootenv, mountpoint, mntflags, result_loc);
448 printf("Successfully mounted %s at %s\n", bootenv, result_loc);
452 (argc == 3) ? "Failed to mount bootenv %s at %s\n" :
453 "Failed to mount bootenv %s at temporary path %s\n",
454 bootenv, mountpoint);
486 fprintf(stderr, "Failed to rename bootenv %s to %s\n",
496 char *bootenv, *cmd;
523 bootenv = argv[0];
525 err = be_unmount(be, bootenv, flags);
531 fprintf(stderr, "Failed to unmount bootenv %s\n", bootenv);