Home
last modified time | relevance | path

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

/freebsd-12.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-12.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-12.1/lib/libbe/
H A Dbe.c101 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-12.1/lib/libbe/tests/
H A Dbe_create.sh57 atf_check zpool create -o altroot=${mnt} ${zpool} ${disk}
/freebsd-12.1/usr.sbin/pc-sysinstall/backend/
H A Dfunctions-upgrade.sh39 zpool import -o altroot=${FSMNT} -a
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_misc.c688 spa_add(const char *name, nvlist_t *config, const char *altroot) in spa_add() argument
781 if (altroot) { in spa_add()
782 spa->spa_root = spa_strdup(altroot); in spa_add()
804 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add()
H A Dspa.c4476 char *altroot, size_t buflen) argument
4519 if (altroot) {
4524 spa_altroot(spa, altroot, buflen);
4526 altroot[0] = '\0';
4530 spa_altroot(spa, altroot, buflen);
4723 char *altroot = NULL; local
4756 spa = spa_add(poolname, nvl, altroot);
5407 char *altroot = NULL; local
5435 spa = spa_add(pool, config, altroot);
6572 char *altroot = NULL; local
[all …]
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c909 char *altroot = NULL; in zpool_do_create() local
944 altroot = optarg; in zpool_do_create()
997 altroot = propval; in zpool_do_create()
1128 if (altroot != NULL && altroot[0] != '/') { in zpool_do_create()
1130 "must be an absolute path\n"), altroot); in zpool_do_create()
1153 if (altroot != NULL) in zpool_do_create()
1155 altroot, poolname); in zpool_do_create()
1160 if (altroot != NULL) in zpool_do_create()
1162 altroot, mountpoint); in zpool_do_create()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspa.h638 extern int spa_get_stats(const char *pool, nvlist_t **config, char *altroot,
741 extern spa_t *spa_add(const char *name, nvlist_t *config, const char *altroot);
/freebsd-12.1/sbin/bectl/tests/
H A Dbectl_test.sh54 atf_check zpool create -o altroot=${mnt} ${zpool} ${disk}
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs.h386 char *altroot);
H A Dlibzfs_pool.c1638 char *altroot) in zpool_import() argument
1643 if (altroot != NULL) { in zpool_import()
1651 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), altroot) != 0 || in zpool_import()