[PATCH] mkcephfs: Don't transfer absolute path of mkcephfs to other hosts.

2013-11-05 Thread majianpeng
When exec 'mkcephfs -a -c ceph.conf',it will transfer absolute path of mkcephfs to other hosts.But for different hosts, the path of mkcephfs may different.It will make the command error.The error message is "bash: ./mkcephfs: No such file or directory". So we should transfer the name mkcephfs to ot

Re: [PATCH] mkcephfs: Don't transfer absolute path of mkcephfs to other hosts.

2013-11-05 Thread Yunchuan Wen
Hi Jianpeng, I think this patch will work in the situation that 'mkcephfs' has been added to the $PATH of other hosts, but what about that 'mkcephfs' have been deployed to the same path in all cluster nodes, but NOT added to $PATH, then the original version will work, but now it not gotta work.