Lines Matching refs:root

147 /* set if -r alternate root given */
160 * writable root (for lock files and doors during install).
161 * This is also root dir for /dev attr dir during install.
292 root_uid = (uid_t)0; /* assume 0 is root */
348 * root. This is to support install.
403 * in daemon mode and when root dir is "/".
654 * device information on the installed root.
813 * device information on the installed root.
988 vprint(CHATTY_MID, "devi_tree_walk: root=%s, minor=%s, driver=%s,"
1355 * Must be root to make this call
1356 * If caller is not root, don't touch its data.
1528 * the zonepath is not a substring of the root path.
1535 char root[MAXPATHLEN]; /* resolved devfsadm root path */
1536 char zroot[MAXPATHLEN]; /* zone root path */
1537 char rzroot[MAXPATHLEN]; /* resolved zone root path */
1552 bzero(root, sizeof (root));
1553 if (resolvepath(checkpath, root, sizeof (root) - 1) == -1) {
1559 (void) strlcpy(root, checkpath, sizeof (root));
1562 if (strlen(root) > 0 && (root[strlen(root) - 1] != '/')) {
1563 (void) snprintf(tmp, sizeof (tmp), "%s/", root);
1564 (void) strlcpy(root, tmp, sizeof (root));
1594 * Finally, the comparison. If the zone root path is a
1595 * leading substring of the root path, fail.
1597 if (strncmp(rzroot, root, strlen(rzroot)) == 0) {
1598 err_print(ZONE_PATHCHECK, root, name);
1741 dca_impl_init(char *root, char *minor, struct dca_impl *dcip)
1743 assert(root);
1745 dcip->dci_root = root;
2830 * change perms if alternate root is set.
2930 * console owner will be root and its gid can be found in
3028 * set ownership to root:other and permissions to 0000
3034 * reset ownership to root:other and permissions to 0000
5733 * the following just points linkptr to the root of the /devices
5804 * Copies over links from /dev to <root>/dev and device special files in
5805 * /devices to <root>/devices, preserving the existing file modes. If
5806 * the link or special file already exists on <root>, skip the copy. (it
5808 * knows best?). Use /etc/name_to_major and <root>/etc/name_to_major to
5812 * <root>/etc/minor_perm. To be used only by install.
5819 /* load the installed root's name_to_major for translations */
5900 * target's root name_to_major file.
7003 * return current root update path (-r)
7131 * root's name_to_major table. Note that there can be multiple matches,