Home
last modified time | relevance | path

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

/dragonfly/sbin/hammer/
HDcmd_pfs.c72 char *linkpath; in getlink() local
77 linkpath = strdup(path); in getlink()
80 i = strlen(linkpath) - 1; in getlink()
81 while (i > 0 && linkpath[i] == '/') in getlink()
82 linkpath[i--] = 0; in getlink()
83 lstat(linkpath, &st); in getlink()
86 return(linkpath); in getlink()
88 free(linkpath); in getlink()
146 char *linkpath; in scanpfsid() local
159 linkpath = getlink(path); in scanpfsid()
[all …]
/dragonfly/contrib/cryptsetup/lib/
HDutils_debug.c30 char dirpath[MAX_SHORTNAME], fdpath[MAX_SHORTNAME], linkpath[MAX_PATHNAME]; in check_pid() local
47 if ((len = readlink(fdpath, linkpath, MAX_PATHNAME-1)) < 0) in check_pid()
49 linkpath[len] = '\0'; in check_pid()
51 if (!strcmp(dev_name, linkpath)) { in check_pid()
56 if (!strcmp(short_dev_name, linkpath)) { in check_pid()
/dragonfly/contrib/libarchive/libarchive/
HDarchive_write_set_format_pax.c579 const char *path = NULL, *linkpath = NULL; in archive_write_pax_header() local
903 linkpath = hardlink; in archive_write_pax_header()
905 if (linkpath == NULL) { in archive_write_pax_header()
906 r = get_entry_symlink(a, entry_main, &linkpath, in archive_write_pax_header()
912 r = get_entry_symlink(a, entry_main, &linkpath, in archive_write_pax_header()
920 "Can't translate linkname '%s' to %s", linkpath, in archive_write_pax_header()
937 linkpath = hardlink; in archive_write_pax_header()
1010 if (linkpath != NULL) { in archive_write_pax_header()
1013 if (linkpath_length > 100 || has_non_ASCII(linkpath)) { in archive_write_pax_header()
1014 add_pax_attr(&(pax->pax_header), "linkpath", linkpath); in archive_write_pax_header()
/dragonfly/crypto/openssh/
HDPROTOCOL471 string linkpath