On 05/20/2013 03:50 PM, Kai Zhang wrote: > Command example: > *Usage* > Save all readonly objects to local path. > "tag" is used to describe a snapshot. > $collie cluster snapshot save tag /localpath > > List all cluster snapshot saved in local path. > $collie cluster snapshot list /localpath > > Load a snapshot to a cluster. > This will format cluster firstly. > User can use tag or index to select a snapshot. > $collie cluster snapshot load tag|idx /localpath My gcc complains, cluster.c: In function ‘save_snapshot’: cluster.c:285:11: warning: variable ‘idx’ set but not used [-Wunused-but-set-variable] CCLD collie Thanks, Yuan |