Lines Matching refs:dir
471 get_dir_acl_info(char *dir, tlm_acls_t *tlm_acls, tlm_job_stats_t *js)
486 fil = tlm_build_snapshot_name(dir, checkpointed_dir,
489 fil = dir;
492 NDMP_LOG(LOG_ERR, "Could not find directory %s.", dir);
521 "Could not read metadata for directory [%s]", dir);
543 backup_dir(char *dir, tlm_acls_t *tlm_acls,
549 NDMP_LOG(LOG_DEBUG, "\"%s\"", dir);
551 erc = get_dir_acl_info(dir, tlm_acls, job_stats);
554 "Could not read directory info for %s", dir);
561 NDMP_LOG(LOG_DEBUG, "[%s] dir skipped", dir);
566 (void) (tm_tar_ops.tm_putdir)(dir, tlm_acls,
580 backup_file(char *dir, char *name, tlm_acls_t *tlm_acls,
589 NDMP_LOG(LOG_DEBUG, "\"%s/%s\"", dir, name);
591 (void) strlcpy(buf, dir, sizeof (buf));
602 NDMP_LOG(LOG_ERR, "Could not open file %s/%s.", dir, name);
609 "[%s/%s] has no selection criteria", dir, name);
612 NDMP_LOG(LOG_DEBUG, "[%s/%s] file skipped", dir, name);
620 "Warning: skip backing up [%s][%s]", dir, name);
626 rv = (tm_tar_ops.tm_putfile)(dir, name, tlm_acls, commands,
801 * non-dir entries which should not be backed up
803 * dir-type entries which have have nothing under
1402 prefixdir(char *dir, char *suffix)
1407 if (dir == NULL || suffix == NULL)
1411 return (dir);
1413 if (*dir == '\0')
1416 (void) strlcpy(tmp, dir, TLM_MAX_PATH_NAME);
1421 * Move backward as far as the last part of the dir and
1469 * ent[i].dest: is the full pathname of where the dir/file must