Lines Matching defs:source
17 * passthrough_hp.cc mirrors a specified "source" directory under a
21 * If --nocache is specified, the source directory may be changed
25 * Without --nocache, the source directory is assumed to be modified
27 * performance, but if changes are made directly to the source, they
99 // Uniquely identifies a file in the source directory tree. This could
100 // be simplified to just ino_t since we require the source directory
118 // Maps files in the source directory tree to inodes
153 std::string source;
337 cerr << "WARNING: Mountpoints in the source directory tree will be hidden." << endl;
1159 << " " << prog_name << " [options] <source> <mountpoint>\n";
1251 fs.source = std::string {resolved_path};
1274 flattened_mount_opts.push_back("fsname=" + fs.source);
1314 auto ret = lstat(fs.source.c_str(), &stat);
1316 err(1, "ERROR: failed to stat source (\"%s\")", fs.source.c_str());
1318 errx(1, "ERROR: source is not a directory");
1321 fs.root.fd = open(fs.source.c_str(), O_PATH);
1323 err(1, "ERROR: open(\"%s\", O_PATH)", fs.source.c_str());