Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/
H A Dzpool_split_encryption.ksh44 altroot="$TESTDIR/zpool-split-$RANDOM"
53 log_must eval "echo "$passphrase" | zpool split -l -R $altroot " \
56 log_must test "$(get_pool_prop 'altroot' $TESTPOOL2)" == "$altroot"
57 log_must mounted $altroot/$TESTPOOL2
H A Dzpool_split_vdevs.ksh119 typeset altroot="$TESTDIR/altroot-$TESTPOOL2"
130 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2
132 log_must test "$(get_pool_prop 'altroot' $TESTPOOL2)" == "$altroot"
145 log_mustnot zpool split -R $altroot $TESTPOOL $TESTPOOL2
H A Dzpool_split_indirect.ksh55 typeset altroot="$TESTDIR/altroot-$TESTPOOL2"
65 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2
67 log_must test "$(get_pool_prop 'altroot' $TESTPOOL2)" == "$altroot"
H A Dzpool_split_devices.ksh50 typeset altroot="$TESTDIR/altroot-$TESTPOOL2"
91 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2 ${gooddevs[$i]}
/freebsd-13.1/tools/regression/zfs/zpool/create/
H A Doption-o.t26 expect_ok ${ZPOOL} create -o altroot=/${name1} ${name0} ${disk0}
31 expect "${exp}" ${ZPOOL} get altroot ${name0}
H A Doption-R.t19 expect "${exp}" ${ZPOOL} get altroot ${name0}
H A Doption-m.t19 expect "${exp}" ${ZPOOL} get altroot ${name0}
/freebsd-13.1/tests/sys/cddl/zfs/tests/cachefile/
H A Dcachefile_003_pos.ksh95 log_must $ZPOOL create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cachefile/
H A Dcachefile_003_pos.ksh83 log_must zpool create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
/freebsd-13.1/lib/libbe/
H A Dbe.c114 char altroot[MAXPATHLEN]; in libbe_init() local
166 altroot, sizeof(altroot), NULL, true) == 0 && in libbe_init()
167 strcmp(altroot, "-") != 0) in libbe_init()
168 lbh->altroot_len = strlen(altroot); in libbe_init()
/freebsd-13.1/lib/libbe/tests/
H A Dbe_create.sh57 atf_check zpool create -o altroot=${mnt} ${zpool} ${disk}
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_get/
H A Dzpool_get.cfg36 "altroot"
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dspa_misc.c644 spa_add(const char *name, nvlist_t *config, const char *altroot) in spa_add() argument
702 if (altroot) in spa_add()
703 spa->spa_root = spa_strdup(altroot); in spa_add()
728 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add()
H A Dspa.c5470 char *altroot, size_t buflen) argument
5517 if (altroot) {
5522 spa_altroot(spa, altroot, buflen);
5524 altroot[0] = '\0';
5528 spa_altroot(spa, altroot, buflen);
5725 char *altroot = NULL; local
5762 spa = spa_add(poolname, nvl, altroot);
6031 char *altroot = NULL; local
6059 spa = spa_add(pool, config, altroot);
7484 char *altroot = NULL; local
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dspa.h770 extern int spa_get_stats(const char *pool, nvlist_t **config, char *altroot,
878 extern spa_t *spa_add(const char *name, nvlist_t *config, const char *altroot);
/freebsd-13.1/sys/contrib/openzfs/include/
H A Dlibzfs.h423 char *altroot);
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c1441 char *altroot = NULL; in zpool_do_create() local
1461 altroot = optarg; in zpool_do_create()
1500 altroot = propval; in zpool_do_create()
1600 if (altroot != NULL && altroot[0] != '/') { in zpool_do_create()
1602 "must be an absolute path\n"), altroot); in zpool_do_create()
1624 if (altroot != NULL) in zpool_do_create()
1626 altroot, poolname); in zpool_do_create()
1631 if (altroot != NULL) in zpool_do_create()
1633 altroot, mountpoint); in zpool_do_create()
/freebsd-13.1/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c1832 char *altroot) in zpool_import() argument
1837 if (altroot != NULL) { in zpool_import()
1845 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), altroot) != 0 || in zpool_import()
H A Dlibzfs.abi5781 <parameter type-id='26a90f95' name='altroot'/>