From db652b82d45daf42874f602e391ebbf478c0cbea Mon Sep 17 00:00:00 2001 From: lissav Date: Sat, 1 Dec 2012 11:48:51 +0000 Subject: [PATCH] changed the copy to an rsync, save a couple of secs, not as much as I hoped. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcataixpost | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index cf2641fde..cc3f2d114 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -214,7 +214,8 @@ if ( !(-f "/xcatpost/xcataixpost") || $::opt_c ) { my $cpcmd; if ((@ARGV==0) || ($ARGV[0] != 2)) { - $cpcmd = "cp -p -R /xcatmnt/* /xcatpost 2>/dev/null"; + #$cpcmd = "cp -p -R /xcatmnt/* /xcatpost 2>/dev/null"; + $cpcmd = "/usr/bin/rsync -Lprogtz /xcatmnt/* /xcatpost 2>/dev/null"; } else { # when argv[1]=2, there is only one postscript file, # user wants only download it to save time