Lines Matching refs:root_dir

147 static char *root_dir = "";  variable
349 if (getenv(RECONFIG_BOOT) != NULL && root_dir[0] != '\0') { in main()
404 if (root_dir[0] == '\0') in main()
484 lock_root = attr_root ? attr_root : root_dir; in set_lock_root()
557 if (zone_pathcheck(root_dir) != in parse_args()
655 root_dir = s_strdup(optarg); in parse_args()
656 if (zone_pathcheck(root_dir) != in parse_args()
814 root_dir = s_strdup(optarg); in parse_args()
888 if (zone_pathcheck(root_dir) != DEVFSADM_SUCCESS) in parse_args()
932 if (zone_pathcheck(root_dir) != in parse_args()
1044 _update_devalloc_db(&devlist, 0, DA_ADD, NULL, root_dir); in devi_tree_walk()
1232 "%s%s", attr_root ? attr_root : root_dir, DEVFSADM_SERVICE_DOOR) in daemon_update()
1430 devlink_cache = di_devlink_open(root_dir, 0); in lock_dev()
2572 (_da_check_for_usb(devlink, root_dir) == 1)) { in devfsadm_mklink()
4340 node_path, root_dir); in hot_cleanup()
4535 _update_devalloc_db(&devlist, 0, DA_ADD, NULL, root_dir); in devfsadm_link_valid()
5819 (void) snprintf(filename, sizeof (filename), "%s%s", root_dir, in devfsadm_copy()
5850 (void) strcpy(newfile, root_dir); in devfsadm_copy_file()
7007 if (root_dir[0] == '\0') { in devfsadm_root_path()
7010 return ((const char *)root_dir); in devfsadm_root_path()
7095 root_dir = s_strdup(dir); in set_root_devices_dev_dir()
7098 (void) snprintf(devices_dir, len, "%s%s", root_dir, DEVICES); in set_root_devices_dev_dir()
7099 len = strlen(root_dir) + strlen(DEV) + 1; in set_root_devices_dev_dir()
7101 (void) snprintf(dev_dir, len, "%s%s", root_dir, DEV); in set_root_devices_dev_dir()