From: Sean Hefty Date: Fri, 30 Mar 2012 22:59:07 +0000 (-0700) Subject: refresh (create temporary patch) X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=64d415b107d3f1c012ab63a0342f9f3b32030012;p=~shefty%2Fibacm.git refresh (create temporary patch) --- diff --git a/meta b/meta index 8bdabab..1cbcdc6 100644 --- a/meta +++ b/meta @@ -1,9 +1,10 @@ Version: 1 -Previous: db7d868a1600f726c2281283b173bd77b192822b -Head: 62fc4bdee12905d85332875439240523fad7bee0 +Previous: 462aacfa413b38dd180504906d4c175e00b45be6 +Head: 124bc8f04bb50bb3307dda02ecaab0e89dd87703 Applied: af_ib: fb683ba55480ada43c09aa48b3cb18bde139f72c rename-ibacm: 62fc4bdee12905d85332875439240523fad7bee0 + refresh-temp: 124bc8f04bb50bb3307dda02ecaab0e89dd87703 Unapplied: file-loc: 19447bec1a6b2cae7f27654010530f95403c2239 init-script: 9c635a29c0fff899915c5ac3775d8cfc748c2573 diff --git a/patches/refresh-temp b/patches/refresh-temp new file mode 100644 index 0000000..e972afc --- /dev/null +++ b/patches/refresh-temp @@ -0,0 +1,62 @@ +Bottom: b7ef43780109283b77986862aa8504222eb78bce +Top: 020de55b0b3d1ad214fe74cfc5ad3e404261d5c3 +Author: Sean Hefty +Date: 2012-03-30 15:59:07 -0700 + +Refresh of rename-ibacm + +--- + +diff --git a/src/acme.c b/src/acme.c +index 3d7461b..43e6dd9 100644 +--- a/src/acme.c ++++ b/src/acme.c +@@ -69,7 +69,7 @@ extern char **parse(char *args, int *count); + static void show_usage(char *program) + { + printf("usage 1: %s\n", program); +- printf("Query specified ib_acm service for data\n"); ++ printf("Query specified ibacm service for data\n"); + printf(" [-f addr_format] - i(p), n(ame), l(id), g(gid), or u(nspecified)\n"); + printf(" address format for -s and -d options, default: 'u'\n"); + printf(" [-s src_addr] - source address for path queries\n"); +@@ -79,10 +79,10 @@ static void show_usage(char *program) + printf(" [-P] - query performance data from destination service\n"); + printf(" [-S svc_addr] - address of ACM service, default: local service\n"); + printf("usage 2: %s\n", program); +- printf("Generate default ib_acm service configuration and option files\n"); ++ printf("Generate default ibacm service configuration and option files\n"); + printf(" -A [addr_file] - generate local address configuration file\n"); + printf(" (default is %s)\n", ACM_ADDR_FILE); +- printf(" -O [opt_file] - generate local acm_opts.cfg options file\n"); ++ printf(" -O [opt_file] - generate local ibacm_opts.cfg options file\n"); + printf(" (default is %s)\n", ACM_OPTS_FILE); + printf(" -D dest_dir - specify destination directory for output files\n"); + printf(" (default is %s)\n", ACM_DEST_DIR); +@@ -94,7 +94,7 @@ static void gen_opts_temp(FILE *f) + fprintf(f, "# InfiniBand Multicast Communication Manager for clusters configuration file\n"); + fprintf(f, "#\n"); + fprintf(f, "# Use ib_acme utility with -O option to automatically generate a sample\n"); +- fprintf(f, "# acm_opts.cfg file for the current system.\n"); ++ fprintf(f, "# ibacm_opts.cfg file for the current system.\n"); + fprintf(f, "#\n"); + fprintf(f, "# Entry format is:\n"); + fprintf(f, "# name value\n"); +@@ -123,7 +123,7 @@ static void gen_opts_temp(FILE *f) + fprintf(f, "# Specifies the location of the ACM lock file used to ensure that only a\n"); + fprintf(f, "# single instance of ACM is running.\n"); + fprintf(f, "\n"); +- fprintf(f, "lock_file /var/lock/ibacm.pid\n"); ++ fprintf(f, "lock_file /var/run/ibacm.pid\n"); + fprintf(f, "\n"); + fprintf(f, "# addr_prot:\n"); + fprintf(f, "# Default resolution protocol to resolve IP addresses into IB GIDs.\n"); +@@ -253,7 +253,7 @@ static void gen_addr_temp(FILE *f) + fprintf(f, "# InfiniBand Communication Management Assistant for clusters address file\n"); + fprintf(f, "#\n"); + fprintf(f, "# Use ib_acme utility with -G option to automatically generate a sample\n"); +- fprintf(f, "# acm_addr.cfg file for the current system.\n"); ++ fprintf(f, "# ibacm_addr.cfg file for the current system.\n"); + fprintf(f, "#\n"); + fprintf(f, "# Entry format is:\n"); + fprintf(f, "# address device port pkey\n");