Home
last modified time | relevance | path

Searched refs:can_path (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/devfsadm/
H A Ddisk_link.c675 char *can_path; in dvlink_cb() local
700 can_path = strstr(path, "/dev/"); in dvlink_cb()
701 if (can_path == NULL) { in dvlink_cb()
707 entry->dv_link = s_strdup(can_path + strlen("/dev/")); in dvlink_cb()
/titanic_50/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c318 char can_path[PATH_MAX]; in handle_alloc() local
368 (void) snprintf(can_path, sizeof (can_path), "%s/%s", ETCDEV, DB_FILE); in handle_alloc()
376 if (fd == -1 && errno == EROFS && stat(can_path, &sb) == -1) in handle_alloc()
394 if (stat(can_path, &sb) == -1 && stat(install_path, &sb) in handle_alloc()