Lines Matching refs:tag
60 * support for the special cluster tag "local" to be used with -C in a
75 static char *cfg_cluster_tag; /* local cluster tag */
77 static char *implicit_tag; /* implicit cluster tag */
157 "\t%s [-C tag] display status\n"),
161 "\t%s [-C tag] -i display "
165 "\t%s [-C tag] -v display "
169 "\t%s [-C tag] -e { -f file | volume } enable\n"), program);
172 "\t%s [-C tag] -d { -f file | volume } disable\n"), program);
175 "\t%s [-C tag] -r { -f file | volume } reconfigure\n"), program);
348 * Implicitly set the cluster tag to dgname
362 "for cluster tag"));
366 * Check dgname and cluster tag from -C are the same.
545 * Check for the special cluster tag and convert into the
1178 char *tag;
1192 tag = cfg_cluster_tag;
1194 tag = implicit_tag;
1196 tag = "-";
1222 /* have name match, compare cnode to new tag */
1224 if (strcmp(tag, cnode) == 0) {
1229 /* need to change the cluster tag */
1232 if (cfg_put_cstring(cfg, key, tag, strlen(tag)) < 0) {
1234 gettext("unable to change cluster tag for %s"), path);
1242 if (strcmp(tag, "-") == 0)
1243 tag = "";
1249 gettext("%s: changed cluster tag for %s from \"%s\" to \"%s\"\n"),
1250 program, path, cnode, tag);
1253 gettext("%s: changed cluster tag for %s from \"%s\" to \"%s\""),
1254 program, path, cnode, tag);
1379 * Search for entries where the cluster tag has changed.
1397 * be changing the cluster tag. Anything else is an error.