From c80b1cd8e06ba4d976ca452a0a9c64b272a7f261 Mon Sep 17 00:00:00 2001 From: yangsheng <yangsheng> Date: Thu, 4 Sep 2008 10:05:19 +0000 Subject: [PATCH] Branch b1_6 b=16373 i=zhenyu.xu, shengyang Search for ":/" instead of ":" --- lustre/utils/mount_lustre.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/utils/mount_lustre.c b/lustre/utils/mount_lustre.c index 3d9d3161fd..191918e903 100644 --- a/lustre/utils/mount_lustre.c +++ b/lustre/utils/mount_lustre.c @@ -582,7 +582,8 @@ int main(int argc, char *const argv[]) printf("mounting device %s at %s, flags=%#x options=%s\n", source, target, flags, optcopy); - if (set_tunables(source, strlen(source)) && verbose) + if (!strstr(usource, ":/") && set_tunables(source, strlen(source)) && + verbose) fprintf(stderr, "%s: unable to set tunables for %s" " (may cause reduced IO performance)\n", argv[0], source); -- GitLab