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

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/
H A Dcachefile.kshlib33 # A function to determine if a given pool name has an entry in cachefile
38 # the given cachefile, default is /etc/zfs/zpool.cache
39 typeset cachefile=${2:-$CPATH}
41 RESULT=$(strings $cachefile | grep -w $1)
H A Dcachefile_001_pos.ksh33 . $STF_SUITE/tests/functional/cachefile/cachefile.cfg
34 . $STF_SUITE/tests/functional/cachefile/cachefile.kshlib
39 # Creating a pool with "cachefile" set doesn't update zpool.cache
42 # 1. Create a pool with the cachefile property set
44 # 3. Verify the cachefile property is set
45 # 4. Create a pool without the cachefile property
46 # 5. Verify the cachefile property isn't set
66 log_assert "Creating a pool with \"cachefile\" se
[all...]
H A Dcachefile_002_pos.ksh33 . $STF_SUITE/tests/functional/cachefile/cachefile.cfg
34 . $STF_SUITE/tests/functional/cachefile/cachefile.kshlib
39 # Importing a pool with "cachefile" set doesn't update zpool.cache
42 # 1. Create a pool with the cachefile property set
48 # 7. Import the pool -o cachefile=<cachefile>
61 log_assert "Importing a pool with \"cachefile\" set doesn't update zpool.cache"
64 log_must zpool create -o cachefile
[all...]
H A DMakefile19 TESTDIR = $(ROOTOPTPKG)/tests/functional/cachefile
26 FILES = cachefile.cfg \
27 cachefile.kshlib
H A Dcachefile_003_pos.ksh33 . $STF_SUITE/tests/functional/cachefile/cachefile.cfg
34 . $STF_SUITE/tests/functional/cachefile/cachefile.kshlib
39 # Setting altroot=<path> and cachefile=$CPATH for zpool create is succeed
42 # 1. Attempt to create a pool with -o altroot=<path> -o cachefile=<value>
71 log_assert "Setting altroot=path and cachefile=$CPATH for zpool create succeed."
83 log_must zpool create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
91 PROP=$(get_pool_prop cachefile $TESTPOOL)
93 log_fail "cachefile propert
[all...]
H A Dcachefile_004_pos.ksh33 . $STF_SUITE/tests/functional/cachefile/cachefile.cfg
34 . $STF_SUITE/tests/functional/cachefile/cachefile.kshlib
38 # Verify set, export and destroy when cachefile is set on pool.
42 # 2. Set cachefile of the two pools to another same cachefile2.
46 # 6. Import the two pools and set cachefile to cachefile2.
79 log_assert "Verify set, export and destroy when cachefile is set on pool."
92 log_must zpool create -o cachefile=$CPATH1 $TESTPOOL1 $vdev0
94 log_must zpool create -o cachefile
[all...]
/illumos-gate/usr/src/cmd/print/scripts/
H A Dgetmodels42 cachefile=/var/lp/ppd/ppdcache
43 [[ -f $cachefile ]] || exit 1
44 /bin/grep "^$1" $cachefile | nawk '{FS=":"; print $2}' | uniq
H A Dppdfilename2mmp49 cachefile=/var/lp/ppd/ppdcache
50 [[ -f $cachefile ]] || exit 1
52 cacheentry=$(/bin/grep "$1" $cachefile)
H A Dgetppds49 # $3 - cachefile
62 cachefile=/var/lp/ppd/ppdcache
63 [[ -f $cachefile ]] || exit 1
77 for pentry in $(ppd_make_entries "${make}" "${model}" "${cachefile}")
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_018_pos.ksh63 # we don't include "root" property in this list, as it requires both "cachefile"
67 typeset props=("autoreplace" "delegation" "cachefile" "version" "autoexpand")
89 log_must zpool create -o delegation=off -o cachefile=$CPATH $TESTPOOL $disk
97 RESULT=$(get_pool_prop cachefile $TESTPOOL)
101 log_fail "Pool created without the cachefile prop."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/
H A DMakefile23 cachefile \
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dinode.c53 cachefile(feblock, len) function
H A Dfsck.h241 struct fileinfo *cachefile();
H A Dpass1.c104 (void) cachefile(rootblock, rootlen);
155 (void) cachefile(fidp->fid_icb.lad_ext_loc,
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_impl.h89 extern char cachefile[];
H A Ddlmgmt_main.c270 (void) snprintf(cachefile, MAXPATHLEN, "%s/%s%s",
295 (void) snprintf(cachefile, MAXPATHLEN, "%s/%s",
H A Ddlmgmt_db.c149 char cachefile[MAXPATHLEN]; variable
154 (persistent) ? DLMGMT_PERSISTENT_DB_PATH : cachefile);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c1317 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, argument
1332 if ((fd = open(cachefile, O_RDONLY)) < 0) {
1458 if (import->cachefile != NULL)
1459 return (zpool_find_import_cached(hdl, import->cachefile,
H A Dlibzfs.h368 char *cachefile; /* cachefile to use for import */ member in struct:importargs
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c66 "Usage: %s [-c cachefile] [-d dir] <subcommand> <args> ...\n"
146 * default cachefile.
528 g_importargs.cachefile = optarg;
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c224 "\timport [-d dir | -c cachefile] [-F [-n]] <pool | id>\n"
226 "\t [-d dir | -c cachefile] [-D] [-f] [-m] [-N] "
229 "\t [-d dir | -c cachefile] [-D] [-f] [-m] [-N] "
1907 * [-d dir | -c cachefile] [-f] -a
1909 * [-d dir | -c cachefile] [-f] [-n] [-F] <pool | id> [newpool]
1911 * -c Read pool information from a cachefile instead of searching
1974 char *cachefile = NULL; local
1985 cachefile = optarg;
2072 if (cachefile && nsearch != 0) {
2162 idata.cachefile
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c146 (void) fprintf(stderr, " -C config (or cachefile if alone)\n");
169 "cachefile\n");
173 "has altroot/not in a cachefile\n");
2073 dump_cachefile(const char *cachefile) argument
2080 if ((fd = open64(cachefile, O_RDONLY)) < 0) {
2081 (void) printf("cannot open '%s': %s\n", cachefile,
2087 (void) printf("failed to stat '%s': %s\n", cachefile,
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c1950 } cachefile; typedef in typeref:struct:__anon468
1953 setup_file(char *base, const char *path, cachefile *cf)
1999 cache_write(cachefile cf, char *buf, int size)
2024 cache_close(cachefile cf)
2057 cachefile outfile, outupdt;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c625 char *cachefile; local
629 &cachefile) != 0)
635 if (cachefile[0] == '\0')
637 else if (strcmp(cachefile, "none") == 0)
640 dp->scd_path = spa_strdup(cachefile);
6327 * 'readonly' and 'cachefile' are also non-persisitent

Completed in 163 milliseconds