Lines Matching refs:bootenv
190 char *atpos, *bootenv, *snapname; in bectl_cmd_create() local
219 bootenv = *argv; in bectl_cmd_create()
222 if ((atpos = strchr(bootenv, '@')) != NULL) { in bectl_cmd_create()
228 err = be_snapshot(be, bootenv, atpos, recursive, NULL); in bectl_cmd_create()
243 err = be_create_depth(be, bootenv, snapshot, in bectl_cmd_create()
254 atpos, bootenv); in bectl_cmd_create()
257 "failed to create bootenv %s\n", bootenv); in bectl_cmd_create()
261 bootenv, snapname); in bectl_cmd_create()
271 char *bootenv; in bectl_cmd_export() local
283 bootenv = argv[1]; in bectl_cmd_export()
290 be_export(be, bootenv, STDOUT_FILENO); in bectl_cmd_export()
299 char *bootenv; in bectl_cmd_import() local
312 bootenv = argv[1]; in bectl_cmd_import()
319 err = be_import(be, bootenv, STDIN_FILENO); in bectl_cmd_import()
403 char *bootenv, *mountpoint; in bectl_cmd_mount() local
418 bootenv = argv[1]; in bectl_cmd_mount()
421 err = be_mount(be, bootenv, mountpoint, mntflags, result_loc); in bectl_cmd_mount()
425 printf("successfully mounted %s at %s\n", bootenv, result_loc); in bectl_cmd_mount()
431 bootenv, mountpoint); in bectl_cmd_mount()
473 char *bootenv, *cmd; in bectl_cmd_unmount() local
500 bootenv = argv[0]; in bectl_cmd_unmount()
502 err = be_unmount(be, bootenv, flags); in bectl_cmd_unmount()
508 fprintf(stderr, "failed to unmount bootenv %s\n", bootenv); in bectl_cmd_unmount()