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

/freebsd-11.0-release/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.0-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_import.c1368 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, argument
1383 if ((fd = open(cachefile, O_RDONLY)) < 0) {
1509 if (import->cachefile != NULL)
1510 return (zpool_find_import_cached(hdl, import->cachefile,
H A Dlibzfs.h372 char *cachefile; /* cachefile to use for import */ member in struct:importargs
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c67 "Usage: %s [-c cachefile] [-d dir] <subcommand> <args> ...\n"
147 * default cachefile.
529 g_importargs.cachefile = optarg;
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c227 "\timport [-d dir | -c cachefile] [-F [-n]] <pool | id>\n"
229 "\t [-d dir | -c cachefile] [-D] [-f] [-m] [-N] "
232 "\t [-d dir | -c cachefile] [-D] [-f] [-m] [-N] "
1932 * [-d dir | -c cachefile] [-f] -a
1934 * [-d dir | -c cachefile] [-f] [-n] [-F] <pool | id> [newpool]
1936 * -c Read pool information from a cachefile instead of searching
1999 char *cachefile = NULL; local
2010 cachefile = optarg;
2097 if (cachefile && nsearch != 0) {
2187 idata.cachefile
[all...]
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c144 (void) fprintf(stderr, " -C config (or cachefile if alone)\n");
167 "cachefile\n");
171 "has altroot/not in a cachefile\n");
2079 dump_cachefile(const char *cachefile) argument
2086 if ((fd = open64(cachefile, O_RDONLY)) < 0) {
2087 (void) fprintf(stderr, "cannot open '%s': %s\n", cachefile,
2093 (void) fprintf(stderr, "failed to stat '%s': %s\n", cachefile,
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa.c650 char *cachefile; local
654 &cachefile) != 0)
660 if (cachefile[0] == '\0')
662 else if (strcmp(cachefile, "none") == 0)
665 dp->scd_path = spa_strdup(cachefile);
6628 * 'readonly' and 'cachefile' are also non-persisitent

Completed in 204 milliseconds