Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/contrib/
H A Dunbound.init_yocto28 rootdir="/var/unbound"
41 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ;
42 …if [ ! -e ${rootdir}/etc/localtime ] || ! /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime;…
43 cp -fp /etc/localtime ${rootdir}/etc/localtime
47 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ;
48 …if [ ! -e ${rootdir}/etc/resolv.conf ] || ! /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv…
49 cp -fp /etc/resolv.conf ${rootdir}/etc/resolv.conf
52 if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}'/dev/log' /proc/mounts; then
53 [ -d ${rootdir}/dev ] || mkdir -p ${rootdir}/dev ;
54 [ -e ${rootdir}/dev/log ] || touch ${rootdir}/dev/log
[all …]
H A Dunbound.init28 rootdir="/var/unbound"
41 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ;
42 …if [ ! -e ${rootdir}/etc/localtime ] || ! /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime;…
43 cp -fp /etc/localtime ${rootdir}/etc/localtime
47 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ;
48 …if [ ! -e ${rootdir}/etc/resolv.conf ] || ! /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv…
49 cp -fp /etc/resolv.conf ${rootdir}/etc/resolv.conf
52 if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}'/dev/log' /proc/mounts; then
53 [ -d ${rootdir}/dev ] || mkdir -p ${rootdir}/dev ;
54 [ -e ${rootdir}/dev/log ] || touch ${rootdir}/dev/log
[all …]
H A Dunbound.init_fedora26 rootdir="/var/lib/unbound"
38 …if [ ! -e ${rootdir}/etc/resolv.conf ] || /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv.c…
39 cp -fp /etc/resolv.conf ${rootdir}/etc/resolv.conf
41 …if [ ! -e ${rootdir}/etc/localtime ] || /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime; t…
42 cp -fp /etc/localtime ${rootdir}/etc/localtime
44 mount --bind -n /dev/log ${rootdir}/dev/log >/dev/null 2>&1;
45 mount --bind -n /dev/urandom ${rootdir}/dev/urandom >/dev/null 2>&1;
46 mount --bind -n /var/run/unbound ${rootdir}/var/run/unbound >/dev/null 2>&1;
64 if egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}''${mountfile}'' /proc/mounts; then
65 umount ${rootdir}$mountfile >/dev/null 2>&1
/freebsd/release/scripts/
H A Dmake-oci-image.sh41 local rootdir=${workdir}/rootfs
45 if [ ! -d ${rootdir}/usr/share/keys/pkg/trusted ]; then
46 mkdir -p ${rootdir}/usr/share/keys/pkg/trusted
49 if [ ! -f ${rootdir}/usr/share/keys/pkg/trusted/$(basename $i) ]; then
50 cp $i ${rootdir}/usr/share/keys/pkg/trusted
57 env IGNORE_OSVERSION=yes ABI=${abi} pkg --rootdir ${rootdir} --repo-conf-dir ${workdir}/repos \
59 rm -rf ${rootdir}/var/db/pkg/repos
H A Dpkg-stage.sh70 export PKG_ABI=$(pkg --rootdir ${ROOTDIR} config ABI)
71 export PKG_ALTABI=$(pkg --rootdir ${ROOTDIR} config ALTABI 2>/dev/null)
/freebsd/lib/libbsdconf/
H A Dbsdconf_format.c441 const char *rootdir, const char *defaults, char ***files, in bsdconf_files_discover() argument
483 dpath = bsdconf_files_path(rootdir, def->defaults, NULL, in bsdconf_files_discover()
514 full = bsdconf_files_path(rootdir, visited[nvisited], NULL, in bsdconf_files_discover()
530 error = bsdconf_files_add_dir(files, nfiles, size, rootdir, in bsdconf_files_discover()
541 full = bsdconf_files_path(rootdir, name, NULL, NULL); in bsdconf_files_discover()
591 bsdconf_format_files(enum bsdconf_format format, const char *rootdir, in bsdconf_format_files() argument
610 if (rootdir == NULL) in bsdconf_format_files()
611 rootdir = ""; in bsdconf_format_files()
615 error = bsdconf_files_discover(def, rootdir, defaults, in bsdconf_format_files()
633 path = bsdconf_files_path(rootdir, def->path, NULL, NULL); in bsdconf_format_files()
[all …]
/freebsd/usr.sbin/pw/
H A Dpw.c121 strlcpy(conf.rootdir, "/", sizeof(conf.rootdir)); in main()
167 strlcpy(conf.rootdir, optarg, in main()
168 sizeof(conf.rootdir)); in main()
223 conf.rootfd = open(conf.rootdir, O_DIRECTORY|O_CLOEXEC); in main()
225 errx(EXIT_FAILURE, "Unable to open '%s'", conf.rootdir); in main()
H A Drm_r.c141 if (strcmp(conf.rootdir, "/") != 0) { in try_dataset_remove()
H A Dpwupd.h77 char rootdir[MAXPATHLEN]; member
/freebsd/usr.sbin/sysconf/
H A Dsysconf_resolve.c40 if (snprintf(buf, sizeof(buf), "%s%s", rootdir, def->defaults) >= in defaults_path()
42 errx(EXIT_FAILURE, "%s%s: %s", rootdir, def->defaults, in defaults_path()
98 prefix = file_stdin ? "" : rootdir; in resolve_target()
131 if (bsdconf_format_files(format, rootdir, module, env, &conf_files, in resolve_target()
298 rootdir, moddir, name) >= (int)sizeof(path)) in do_list()
312 if (snprintf(dpath, sizeof(dpath), "%s%s", rootdir, in do_list()
H A Dsysconf.c58 const char *rootdir = ""; /* `-R dir' */ variable
133 rootdir = optarg; in parse_options()
228 if (jailname != NULL && *rootdir != '\0') { in main()
315 *rootdir != '\0') in main()
457 *rootdir == '\0') { in main()
H A Dsysconf_poudriere.c107 n = snprintf(dst, dstsz, "%s%s", rootdir, raw); in poudriere_join()
109 errx(EXIT_FAILURE, "%s%s: %s", rootdir, raw, in poudriere_join()
456 rootdir = arg; in argv_wants_list()
508 if (snprintf(path, sizeof(path), "%s%s", rootdir, in exec_poudriere_sysrc()
510 errx(EXIT_FAILURE, "%s%s: %s", rootdir, in exec_poudriere_sysrc()
580 prefix = file_stdin ? "" : rootdir; in poudriere_setup()
H A Dsysconf_priv.h137 extern const char *rootdir;
/freebsd/contrib/pam-krb5/tests/tap/perl/Test/RRA/
H A DAutomake.pm233 opendir(my $rootdir, q{.}) or BAIL_OUT("cannot open .: $!");
234 my @dirs = grep { -d && !$skip{$_} } readdir($rootdir);
235 closedir($rootdir);
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvfs.h37 #define rootdir rootvnode macro
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dvfs.h37 #define rootdir rootvnode macro
/freebsd/sys/dev/firewire/
H A Dfirewire.c1791 struct csrdirectory *rootdir, *udir; in fw_parse_units() local
1807 rootdir = (struct csrdirectory *)&fwdev->csrrom[root_off]; in fw_parse_units()
1808 root_len = rootdir->crc_len; in fw_parse_units()
1811 if (!crom_crc_valid((uint32_t *)&rootdir->entry[0], root_len, in fw_parse_units()
1812 rootdir->crc) && firewire_debug) in fw_parse_units()
1821 if (rootdir->entry[ri].key != CROM_UDIR) in fw_parse_units()
1824 udir_qoff = reg_off + rootdir->entry[ri].val; in fw_parse_units()
/freebsd/contrib/lyaml/build-aux/
H A Dluke322 …rootdir=concat{'$',name,'_DIR'}variables[name..'_DIR']='/usr'variables[name..'_BINDIR']=rootdir..'…
/freebsd/contrib/llvm-project/lld/MachO/
H A DOptions.td307 MetaVarName<"<rootdir>">,
308 HelpText<"Prepend <rootdir> to all library and framework search paths">,
/freebsd/contrib/file/magic/Magdir/
H A Dfilesystems1487 >>>>>>44 ulelong >2 \b, rootdir cluster %u
1488 #>>>>>>44 ulelong =2 \b, rootdir cluster %u
1489 #>>>>>>44 ulelong =1 \b, rootdir cluster %u