"The nid defaults to hostname for tcp networks and is automatically "
"setup for elan/myrinet networks.\n"
"usage: mynid [nid]"},
- {"add_uuid", jt_net_add_uuid, 0, "associate a name/uuid with a nid\n"
- "usage: add_uuid <name> <uuid> <nid>"},
+ {"add_uuid", jt_net_add_uuid, 0, "associate a uuid with a nid\n"
+ "usage: add_uuid <uuid> <nid>"},
{"del_uuid", jt_net_del_uuid, 0, "delete a uuid association\n"
"usage: del_uuid <uuid>"},
{"add_route", jt_net_add_route, 0,
"usage: detach"},
{"lovconfig", jt_dev_lov_config, 0,
"write lov configuration to a mds device\n"
- "usage: lovconfig"},
+ "usage: lovconfig lov-uuid stripcount stripsize pattern UUID1 [UUID2 ...]"},
/* Device operations */
{"=== device operations ==", jt_noop, 0, "device operations"},
fprintf(stderr, "Can't get nagle: %s\n",
strerror(errno));
- fprintf(stderr, "Connected to %s (snd %d, rcv %d, nagle %s)\n",
+ printf("Connected to %s (snd %d, rcv %d, nagle %s)\n",
argv[1],txmem,rxmem,nonagle ? "Disabled" : "Enabled");
PORTAL_IOC_INIT(data);
}
g_nid = ntohl (srvaddr.sin_addr.s_addr); /* HOST byte order */
- fprintf(stderr, "Connection to 0x%x registered with socknal\n",
+ printf("Connection to 0x%x registered with socknal\n",
g_nid);
rc = close(fd);
return CMD_HELP;
if (g_nal == 0) {
- fprintf(stderr, "Error: you must run the 'setup' command "
+ fprintf(stderr, "Error: you must run the 'network' command "
"first.\n");
return -1;
}
return -1;
}
} else if (g_nal == QSWNAL) {
- fprintf(stderr, "'disconnect' doesn't make any sense for "
+ printf("'disconnect' doesn't make any sense for "
"elan.\n");
} else if (g_nal == GMNAL) {
- fprintf(stderr, "'disconnect' doesn't make any sense for "
+ printf("'disconnect' doesn't make any sense for "
"GM.\n");
} else {
fprintf(stderr, "This should never happen. Also it is very "
fprintf(stderr, "IOC_PORTAL_REGISTER_MYNID failed: %s\n",
strerror(errno));
else
- fprintf(stderr, "registered my nid 0x%Lx (%s)\n",
+ printf("registered my nid 0x%Lx (%s)\n",
mynid, hostname);
return 0;
}
return -1;
}
- fprintf (stderr, "Added uuid %s: %s\n", argv[1], nid2str (tmp, nid));
+ printf ("Added uuid %s: %s\n", argv[1], nid2str (tmp, nid));
return 0;
}