Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/
H A Dzpool_split_encryption.ksh45 altroot="$TESTDIR/zpool-split-$RANDOM"
54 log_must eval "echo "$passphrase" | zpool split -l -R $altroot " \
57 log_must test "$(get_pool_prop 'altroot' $TESTPOOL2)" == "$altroot"
58 log_must mounted $altroot/$TESTPOOL2
H A Dzpool_split_vdevs.ksh37 rm -fd $FILEDEV_PREFIX* $altroot
120 typeset altroot="$TESTDIR/altroot-$TESTPOOL2"
131 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2
133 log_must test "$(get_pool_prop 'altroot' $TESTPOOL2)" == "$altroot"
146 log_mustnot zpool split -R $altroot $TESTPOOL $TESTPOOL2
H A Dzpool_split_indirect.ksh47 rm -fd $VDEV_TEMP $VDEV_M1 $VDEV_M2 $altroot
56 typeset altroot="$TESTDIR/altroot-$TESTPOOL2"
66 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2
68 log_must test "$(get_pool_prop 'altroot' $TESTPOOL2)" = "$altroot"
H A Dzpool_split_devices.ksh37 rm -fd $FILEDEV_PREFIX* $altroot
51 typeset altroot="$TESTDIR/altroot-$TESTPOOL2"
92 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2 ${gooddevs[$i]}
/freebsd/tools/regression/zfs/zpool/create/
H A Doption-o.t25 expect_ok ${ZPOOL} create -o altroot=/${name1} ${name0} ${disk0}
30 expect "${exp}" ${ZPOOL} get altroot ${name0}
H A Doption-R.t18 expect "${exp}" ${ZPOOL} get altroot ${name0}
H A Doption-m.t18 expect "${exp}" ${ZPOOL} get altroot ${name0}
/freebsd/tests/sys/cddl/zfs/tests/cachefile/
H A Dcachefile_003_pos.ksh90 log_must $ZPOOL create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cachefile/
H A Dcachefile_003_pos.ksh84 log_must zpool create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
/freebsd/lib/libbe/
H A Dbe.c91 char altroot[MAXPATHLEN]; in libbe_init() local
153 altroot, sizeof(altroot), NULL, true) == 0 && in libbe_init()
154 strcmp(altroot, "-") != 0) in libbe_init()
155 lbh->altroot_len = strlen(altroot); in libbe_init()
/freebsd/usr.sbin/pw/
H A Dpwupd.h81 bool altroot; member
H A Dpw.c165 conf.altroot = true; in main()
H A Dpw_user.c244 if (!conf.altroot && geteuid() != 0) in pw_check_root()
/freebsd/lib/libbe/tests/
H A Dbe_create.sh56 atf_check zpool create -o altroot=${mnt} ${zpool} ${disk}
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_get/
H A Dzpool_get.cfg37 "altroot"
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_misc.c695 spa_add(const char *name, nvlist_t *config, const char *altroot) in spa_add() argument
756 if (altroot) in spa_add()
757 spa->spa_root = spa_strdup(altroot); in spa_add()
784 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add()
H A Dspa.c6295 char *altroot, size_t buflen) argument
6342 if (altroot) {
6347 spa_altroot(spa, altroot, buflen);
6349 altroot[0] = '\0';
6353 spa_altroot(spa, altroot, buflen);
6546 const char *altroot = NULL; local
6583 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), &altroot);
6584 spa = spa_add(poolname, nvl, altroot);
6862 const char *altroot = NULL; local
6885 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), &altroot);
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.h777 extern int spa_get_stats(const char *pool, nvlist_t **config, char *altroot,
898 extern spa_t *spa_add(const char *name, nvlist_t *config, const char *altroot);
/freebsd/sys/contrib/openzfs/include/
H A Dlibzfs.h491 char *altroot);
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c1980 char *altroot = NULL; in zpool_do_create() local
2000 altroot = optarg; in zpool_do_create()
2039 altroot = propval; in zpool_do_create()
2139 if (altroot != NULL && altroot[0] != '/') { in zpool_do_create()
2141 "must be an absolute path\n"), altroot); in zpool_do_create()
2163 if (altroot != NULL) in zpool_do_create()
2165 altroot, poolname); in zpool_do_create()
2170 if (altroot != NULL) in zpool_do_create()
2172 altroot, mountpoint); in zpool_do_create()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c2059 char *altroot) in zpool_import() argument
2064 if (altroot != NULL) { in zpool_import()
2072 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), altroot) != 0 || in zpool_import()
H A Dlibzfs.abi6893 <parameter type-id='26a90f95' name='altroot'/>