Searched refs:cachefile (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/tools/regression/zfs/zpool/create/
H A Doption-o.t75 expect_ok ${ZPOOL} create -o cachefile=none ${name0} ${disk0}
78 echo "${name0} cachefile none local"
80 expect "${exp}" ${ZPOOL} get cachefile ${name0}
83 expect_ok ${ZPOOL} create -o cachefile=/tmp/${name1} ${name0} ${disk0}
86 echo "${name0} cachefile /tmp/${name1} local"
88 expect "${exp}" ${ZPOOL} get cachefile ${name0}
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_import.c1458 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, argument
1473 if ((fd = open(cachefile, O_RDONLY)) < 0) {
1546 cachefile) != 0) {
1607 if (import->cachefile != NULL)
1608 return (zpool_find_import_cached(hdl, import->cachefile,
H A Dlibzfs.h401 char *cachefile; /* cachefile to use for import */ member in struct:importargs
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c66 "Usage: %s [-c cachefile] [-d dir] <subcommand> <args> ...\n"
146 * default cachefile.
528 g_importargs.cachefile = optarg;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c244 "\t [-d dir | -c cachefile] [-D] [-f] [-m] [-N] "
247 "\t [-d dir | -c cachefile] [-D] [-f] [-m] [-N] "
2242 * [-d dir | -c cachefile] [-f] -a
2244 * [-d dir | -c cachefile] [-f] [-n] [-F] [-t]
2247 * -c Read pool information from a cachefile instead of searching
2316 char *cachefile = NULL; local
2334 cachefile = optarg;
2426 if (cachefile && nsearch != 0) {
2517 idata.cachefile = cachefile;
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa.c227 * We are more tolerant for pools opened from a cachefile since we could have
228 * an out-dated cachefile where a device removal was not registered.
728 char *cachefile; local
732 &cachefile) != 0)
738 if (cachefile[0] == '\0')
740 else if (strcmp(cachefile, "none") == 0)
743 dp->scd_path = spa_strdup(cachefile);
3935 * and the cachefile (by default /etc/zfs/zpool.cache).
5588 char *poolname, *cachefile; local
5620 if (nvlist_lookup_string(tryconfig, ZPOOL_CONFIG_CACHEFILE, &cachefile)
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c164 (void) fprintf(stderr, " -C config (or cachefile if alone)\n");
190 "has altroot/not in a cachefile\n");
208 "cachefile\n");
2382 dump_cachefile(const char *cachefile) argument
2389 if ((fd = open64(cachefile, O_RDONLY)) < 0) {
2390 (void) fprintf(stderr, "cannot open '%s': %s\n", cachefile,
2396 (void) fprintf(stderr, "failed to stat '%s': %s\n", cachefile,
5166 "cachefile must be an absolute path "

Completed in 229 milliseconds