From f5e11be42b915cd527c924c2f79bdf58463c9e9a Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 20 Jan 2011 14:26:32 +0000 Subject: [PATCH] add examples git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8711 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/xdcp.1.pod | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xCAT-client/pods/man1/xdcp.1.pod b/xCAT-client/pods/man1/xdcp.1.pod index cb2dcd08d..d69145f4f 100644 --- a/xCAT-client/pods/man1/xdcp.1.pod +++ b/xCAT-client/pods/man1/xdcp.1.pod @@ -132,7 +132,8 @@ For example: B: After you define the files to rsync, you can add an B clause in the synclist file. The B clause will list all the postscripts that you would like to run after the files are sync'd to the node. -The postscript file must be of the form B, reside in the same +The postscript file must be of the form B, where the +is the is the from , reside in the same directory as B, and be executable. If the file B is rsync'd to the node, then the B will automatically be run on the node. @@ -144,13 +145,16 @@ for hierarchical clusters. It is optional for non-hierarchical cluster. For example, your rsynclist file may look like this: /tmp/file2 -> /tmp/file2 /tmp/file2.post -> /tmp/file2.post - /tmp/file3 -> /tmp/file3 + /tmp/file3 -> /tmp/filex /tmp/file3.post -> /tmp/file3.post # the below are postscripts EXECUTE: /tmp/file2.post /tmp/file3.post +If /tmp/file2 and /tmp/file3 update /tmp/file2 and /tmp/filex on the node, then the postscripts /tmp/file2.post and /tmp/file3.post are automatically run on +the node. + On Linux rsync always uses ssh remoteshell. On AIX, ssh or rsh is used depending on the site.useSSHonAIX attribute. =item B<-h>|B<--help>