| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/ |
| H A D | zpool_split_encryption.ksh | 44 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 D | zpool_split_vdevs.ksh | 36 rm -fd $FILEDEV_PREFIX* $altroot 119 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 D | zpool_split_indirect.ksh | 46 rm -fd $VDEV_TEMP $VDEV_M1 $VDEV_M2 $altroot 55 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 D | zpool_split_devices.ksh | 36 rm -fd $FILEDEV_PREFIX* $altroot 50 typeset altroot="$TESTDIR/altroot-$TESTPOOL2" 91 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2 ${gooddevs[$i]}
|
| /freebsd-14.2/tools/regression/zfs/zpool/create/ |
| H A D | option-o.t | 25 expect_ok ${ZPOOL} create -o altroot=/${name1} ${name0} ${disk0} 30 expect "${exp}" ${ZPOOL} get altroot ${name0}
|
| H A D | option-R.t | 18 expect "${exp}" ${ZPOOL} get altroot ${name0}
|
| H A D | option-m.t | 18 expect "${exp}" ${ZPOOL} get altroot ${name0}
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/cachefile/ |
| H A D | cachefile_003_pos.ksh | 93 log_must $ZPOOL create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cachefile/ |
| H A D | cachefile_003_pos.ksh | 83 log_must zpool create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
|
| /freebsd-14.2/lib/libbe/ |
| H A D | be.c | 113 char altroot[MAXPATHLEN]; in libbe_init() local 175 altroot, sizeof(altroot), NULL, true) == 0 && in libbe_init() 176 strcmp(altroot, "-") != 0) in libbe_init() 177 lbh->altroot_len = strlen(altroot); in libbe_init()
|
| /freebsd-14.2/lib/libbe/tests/ |
| H A D | be_create.sh | 56 atf_check zpool create -o altroot=${mnt} ${zpool} ${disk}
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_get/ |
| H A D | zpool_get.cfg | 36 "altroot"
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | spa_misc.c | 668 spa_add(const char *name, nvlist_t *config, const char *altroot) in spa_add() argument 726 if (altroot) in spa_add() 727 spa->spa_root = spa_strdup(altroot); in spa_add() 752 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add()
|
| H A D | spa.c | 5998 char *altroot, size_t buflen) argument 6045 if (altroot) { 6050 spa_altroot(spa, altroot, buflen); 6052 altroot[0] = '\0'; 6056 spa_altroot(spa, altroot, buflen); 6249 const char *altroot = NULL; local 6286 spa = spa_add(poolname, nvl, altroot); 6562 const char *altroot = NULL; local 6590 spa = spa_add(pool, config, altroot); 8044 const char *altroot = NULL; local [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 745 extern int spa_get_stats(const char *pool, nvlist_t **config, char *altroot, 855 extern spa_t *spa_add(const char *name, nvlist_t *config, const char *altroot);
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 1620 char *altroot = NULL; in zpool_do_create() local 1640 altroot = optarg; in zpool_do_create() 1679 altroot = propval; in zpool_do_create() 1779 if (altroot != NULL && altroot[0] != '/') { in zpool_do_create() 1781 "must be an absolute path\n"), altroot); in zpool_do_create() 1803 if (altroot != NULL) in zpool_do_create() 1805 altroot, poolname); in zpool_do_create() 1810 if (altroot != NULL) in zpool_do_create() 1812 altroot, mountpoint); in zpool_do_create()
|
| /freebsd-14.2/sys/contrib/openzfs/include/ |
| H A D | libzfs.h | 468 char *altroot);
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_pool.c | 2023 char *altroot) in zpool_import() argument 2028 if (altroot != NULL) { in zpool_import() 2036 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), altroot) != 0 || in zpool_import()
|
| H A D | libzfs.abi | 6321 <parameter type-id='26a90f95' name='altroot'/>
|