Lines Matching refs:fullname
201 const char *fullname) in rdump_symlink() argument
243 if (symlink(buf, fullname) == -1) { in rdump_symlink()
244 com_err("rdump", errno, "while creating symlink %s -> %s", buf, fullname); in rdump_symlink()
257 char *fullname; in rdump_inode() local
261 fullname = malloc(strlen(dumproot) + strlen(name) + 2); in rdump_inode()
262 if (!fullname) { in rdump_inode()
266 sprintf(fullname, "%s/%s", dumproot, name); in rdump_inode()
269 rdump_symlink(ino, inode, fullname); in rdump_inode()
272 fd = open(fullname, O_WRONLY | O_CREAT | O_TRUNC | O_LARGEFILE, S_IRWXU); in rdump_inode()
274 com_err("rdump", errno, "while dumping %s", fullname); in rdump_inode()
277 dump_file("rdump", ino, fd, 1, fullname); in rdump_inode()
279 com_err("rdump", errno, "while dumping %s", fullname); in rdump_inode()
289 if (mkdir(fullname, S_IRWXU) == -1) { in rdump_inode()
290 com_err("rdump", errno, "while making directory %s", fullname); in rdump_inode()
295 rdump_dirent, (void *) fullname); in rdump_inode()
297 com_err("rdump", retval, "while dumping %s", fullname); in rdump_inode()
299 fix_perms("rdump", inode, -1, fullname); in rdump_inode()
304 free(fullname); in rdump_inode()