| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/ |
| H A D | zpool_split_encryption.ksh | 45 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 D | zpool_split_vdevs.ksh | 37 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 D | zpool_split_indirect.ksh | 47 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 D | zpool_split_devices.ksh | 37 rm -fd $FILEDEV_PREFIX* $altroot 51 typeset altroot="$TESTDIR/altroot-$TESTPOOL2" 92 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2 ${gooddevs[$i]}
|
| /freebsd/tools/tools/nanobsd/ |
| H A D | legacy.sh | 291 local altroot bootloader cfgimage dataimage diskimage 319 altroot="-p freebsd:=${NANO_OBJ}/_.altroot.image" 322 altroot="-p-" 325 altroot="-p freebsd::${CODE_SIZE}b" 350 ${altroot} \
|
| /freebsd/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/tests/sys/cddl/zfs/tests/cachefile/ |
| H A D | cachefile_003_pos.ksh | 90 log_must $ZPOOL create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cachefile/ |
| H A D | cachefile_003_pos.ksh | 84 log_must zpool create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
|
| /freebsd/lib/libbe/ |
| H A D | be.c | 91 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 D | pwupd.h | 82 bool altroot; member
|
| H A D | pw.c | 170 conf.altroot = true; in main()
|
| H A D | pw_user.c | 256 if (!conf.altroot && geteuid() != 0) in pw_check_root()
|
| /freebsd/lib/libbe/tests/ |
| H A D | be_create.sh | 56 atf_check zpool create -o altroot=${mnt} ${zpool} ${disk}
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_get/ |
| H A D | zpool_get.cfg | 37 "altroot"
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | spa_misc.c | 748 spa_add(const char *name, nvlist_t *config, const char *altroot) in spa_add() argument 809 if (altroot) in spa_add() 810 spa->spa_root = spa_strdup(altroot); in spa_add() 837 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add()
|
| H A D | spa.c | 6360 char *altroot, size_t buflen) argument 6407 if (altroot) { 6412 spa_altroot(spa, altroot, buflen); 6414 altroot[0] = '\0'; 6418 spa_altroot(spa, altroot, buflen); 6611 const char *altroot = NULL; local 6648 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), &altroot); 6649 spa = spa_add(poolname, nvl, altroot); 6927 const char *altroot = NULL; local 6950 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), &altroot); [all …]
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 777 extern int spa_get_stats(const char *pool, nvlist_t **config, char *altroot, 902 extern spa_t *spa_add(const char *name, nvlist_t *config, const char *altroot);
|
| /freebsd/sys/contrib/openzfs/include/ |
| H A D | libzfs.h | 493 char *altroot);
|
| /freebsd/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 1979 char *altroot = NULL; in zpool_do_create() local 1999 altroot = optarg; in zpool_do_create() 2038 altroot = propval; in zpool_do_create() 2138 if (altroot != NULL && altroot[0] != '/') { in zpool_do_create() 2140 "must be an absolute path\n"), altroot); in zpool_do_create() 2162 if (altroot != NULL) in zpool_do_create() 2164 altroot, poolname); in zpool_do_create() 2169 if (altroot != NULL) in zpool_do_create() 2171 altroot, mountpoint); in zpool_do_create()
|
| /freebsd/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_pool.c | 2063 char *altroot) in zpool_import() argument 2068 if (altroot != NULL) { in zpool_import() 2076 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), altroot) != 0 || in zpool_import()
|
| H A D | libzfs.abi | 7172 <parameter type-id='26a90f95' name='altroot'/>
|