Lines Matching defs:path

115 static boolean_t absolutepath(char *path);
116 static boolean_t parametricpath(char *path, char **relocpath);
302 if (is_fs_writeable(ext->cf_ent.path,
335 ((is_fs_writeable(ept->path,
438 n = is_remote_fs(ept->path, &(ext->fsys_value));
440 !is_fs_writeable(ept->path,
456 if (is_mounted(ept->path, &(ext->fsys_value))) {
527 * Copy from source media to target path and fix file
541 if (is_fs_writeable(ept->path,
625 * we do this even if none of the path
679 cverify(1, &ept->ftype, ept->path,
816 * path for the next package to process - if this
819 * path for the next object from the package to process
822 * path for the next package to process - if this
825 * path for the next object from the package to process
827 * - pointer to pointer to string - set if the last path
829 * always set when a path to be installed exists and
832 * != DMRG_DONE - index into extlist of the next path to
851 /* reset returned path pointers */
885 (ept->path && *ept->path) ? ept->path : "unknown");
887 (ept->path && *ept->path) ? ept->path : "unknown");
901 if (dir_is_populated(ept->path)) {
902 logerr(WRN_INSTVOL_NOTDIR, ept->path);
911 if (rmdir(ept->path)) {
918 progerr(ERR_RMDIR, ept->path);
943 echo(MSG_SHIGN, ept->path);
956 if (is_fs_writeable(ept->path,
959 echo(MSG_UGMOD, ept->path);
961 echo(MSG_UGID, ept->path);
981 ept->path, &ept->ainfo))
982 echo(MSG_SLINK, ept->path);
999 if (is_remote_fs(ept->path,
1001 !is_fs_writeable(ept->path,
1008 if (averify(1, &ept->ftype, ept->path,
1012 progerr(ERR_CREATE_PKGOBJ, ept->path);
1044 *dstp = ept->path;
1065 * instdir has the absolute path
1071 * absolute src path with the
1092 ept->path);
1101 if (!is_fs_writeable(ept->path,
1106 ept->path);
1113 ept->path);
1122 backup(ept->path, 0);
1124 echo(MSG_ATTRIB, ept->path);
1128 ept->path,
1153 ept->path);
1155 *r_updated = ept->path;
1260 entry.cf_ent.path && *entry.cf_ent.path ?
1261 entry.cf_ent.path : "Unknown");
1267 * Check if path should be in the package
1273 progerr(ERR_CFMISSING, ept->path);
1289 progerr(ERR_COULD_NOT_INSTALL, ept->path);
1311 ept->path, &ept->ainfo)) {
1313 ept->path);
1324 if (is_remote_fs(ept->path,
1326 !is_fs_writeable(ept->path,
1353 if (flag < 0 || is_served(ept->path,
1405 if (cppath(MODE_SRC, ept->path, scrpt_dst, 0644)) {
1472 progerr(ERR_COULD_NOT_INSTALL, ept->path);
1479 (ept->path && *ept->path) ? ept->path : "unknown");
1485 if (fverify(1, &ept->ftype, ept->path,
1523 if (cppath(MODE_SRC, ept->path, scrpt_dst, 0644)) {
1533 * Check to see if first charcter in path is a '/'.
1536 * B_TRUE - if path is prepended with '/'
1540 absolutepath(char *path)
1542 assert(path != NULL);
1543 assert(path[0] != '\0');
1545 return (path[0] == '/' ? B_TRUE : B_FALSE);
1549 * Check to see if path contains a '$' which makes it
1550 * a parametric path and therefore relocatable.
1553 * path - The path to determine if it is absolute
1554 * relocpath - The value of the unconditioned path
1557 * B_TRUE - if path is a parametric path
1561 parametricpath(char *path, char **relocpath)
1563 assert(path != NULL);
1564 assert(path[0] != '\0');
1567 * If this is a valid parametric path then a '$' MUST occur at the
1571 if (path[0] == '$' || path[1] == '$') {
1573 * If a parametric path exists then when copying the
1574 * path to the pspool directoy from the installing
1576 * varaiable path.
1578 *relocpath = (path + 1);