From 8f363fef3f517459d5ab872bcfc5338c99894548 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 27 Aug 2009 16:27:30 +0000 Subject: [PATCH] change to support new rsync file syntax, either file1 file2 -> directory or file -> file git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/updatenode.1.pod | 14 +++++++------- xCAT-client/pods/man1/xdcp.1.pod | 8 +++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/xCAT-client/pods/man1/updatenode.1.pod b/xCAT-client/pods/man1/updatenode.1.pod index 39cfbee99..f9896c5df 100644 --- a/xCAT-client/pods/man1/updatenode.1.pod +++ b/xCAT-client/pods/man1/updatenode.1.pod @@ -80,20 +80,20 @@ such as xdsh and xdcp to accomplish these update tasks. The following formats are supported: 1) sync file /etc/file1 to the directory /etc on the node with the same file name - /etc/file1 -> /etc - 2) sync file /etc/file2 to the file /etc/file2 on the node (with - same file name) - /etc/file2 -> /etc/file2 - 3) sync file /etc/file2 to the file /etc/file3 on the node (with + /etc/file1 -> /etc/file1 + 2) sync file /etc/file2 to the file /etc/file3 on the node (with different file name) /etc/file2 -> /etc/file3 + 3) sync file /etc/file2 to the file /etc/tmp/file3 on the node (with + different file name, different directory) If the directory does not + exist, it will be created. + /etc/file2 -> /etc/tmp/file3 4) sync the multiple files /etc/file1, /etc/file2, /etc/file3, ... to the directory /tmp/etc (/tmp/etc must be a directory when - multiple files are sync'd at one time). If the diretory does + multiple files are sync'd at one time). If the directory does not exist, xdcp will create it. /etc/file1 /etc/file2 /etc/file3 -> /tmp/etc - Comment lines are NOT supported in the synlist file. Indicate the location of the synclist file. diff --git a/xCAT-client/pods/man1/xdcp.1.pod b/xCAT-client/pods/man1/xdcp.1.pod index 9b1ecab8b..c4ce36432 100644 --- a/xCAT-client/pods/man1/xdcp.1.pod +++ b/xCAT-client/pods/man1/xdcp.1.pod @@ -109,12 +109,14 @@ build the rsync command. The format of the input file is as follows, each line contains: I ... -> < path to destination file/directory> + I -> + For example: /etc/password /etc/hosts -> /etc - - /tmp/file1 -> /tmp - /tmp/file2 -> /tmp/filex + /tmp/file2 -> /tmp/file2 + + /tmp/filex -> /tmp/source/filey