Lines Matching refs:menu_root
336 char menu_root[PATH_MAX];
360 (void) strlcpy(menu_root, bam_root, sizeof (menu_root));
382 if (stat(menu_root, &sb) == -1) {
387 if (!is_zfs(menu_root)) {
392 assert(strcmp(menu_root, bam_root) == 0);
393 special = get_special(menu_root);
397 menu_root);
404 bam_error(_("cant find pool for mount-point %s\n"), menu_root);
418 (void) strlcpy(menu_root, zmntpt, sizeof (menu_root));
419 BAM_DPRINTF(("%s: zfs menu_root=%s\n", fcn, menu_root));
421 elide_trailing_slash(menu_root, clean_menu_root,
468 ret = f(&menu, menu_root, osdev);
470 ret = f(&menu, bam_root, menu_root);
540 assert((is_zfs(menu_root)) ^ (pool == NULL));
928 list_entry(struct menu_lst *menu, char *menu_root, char *opt)
979 update_entry(struct menu_lst *menu, char *menu_root, char *osdev)
982 char *pool = menu_root + 1;
987 (void) snprintf(path, PATH_MAX, "%s%s", menu_root, MENU);