Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dcopy.c622 char dev_ino[DECIMAL_STR_MAX(dev_t)*2 + DECIMAL_STR_MAX(uint64_t) + 4]; in try_hardlink() local
637 … xsprintf(dev_ino, "%u:%u:%" PRIu64, major(st->st_dev), minor(st->st_dev), (uint64_t) st->st_ino); in try_hardlink()
638 if (linkat(c->dir_fd, dev_ino, dt, to, 0) < 0) { in try_hardlink()
640 … log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", dev_ino, to); in try_hardlink()
653 char dev_ino[DECIMAL_STR_MAX(dev_t)*2 + DECIMAL_STR_MAX(uint64_t) + 4]; in memorize_hardlink() local
670 … xsprintf(dev_ino, "%u:%u:%" PRIu64, major(st->st_dev), minor(st->st_dev), (uint64_t) st->st_ino); in memorize_hardlink()
671 if (linkat(dt, to, c->dir_fd, dev_ino, 0) < 0) { in memorize_hardlink()
672 log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", to, dev_ino); in memorize_hardlink()