[Pvfs2-cvs] commit by slang in pvfs2/src/apps/admin: pvfs2-migrate-collection.c pvfs2-touch.c

CVS commit program cvs at parl.clemson.edu
Fri Apr 4 11:26:45 EST 2008


Update of /projects/cvsroot/pvfs2/src/apps/admin
In directory parlweb1:/tmp/cvs-serv7937/src/apps/admin

Modified Files:
      Tag: pvfs-2-7-branch
	pvfs2-migrate-collection.c pvfs2-touch.c 
Log Message:



Index: pvfs2-migrate-collection.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/admin/pvfs2-migrate-collection.c,v
diff -p -u -r1.20.2.1 -r1.20.2.2
--- pvfs2-migrate-collection.c	4 Apr 2008 16:21:54 -0000	1.20.2.1
+++ pvfs2-migrate-collection.c	4 Apr 2008 16:26:45 -0000	1.20.2.2
@@ -504,6 +504,10 @@ static void print_help(
     fprintf(stderr,"--------------\n");
     fprintf(stderr,"  --cleanup          "
             "remove the old collection\n");
+    fprintf(stderr,
+            "  --alias            Specify the alias for this server.\n"
+            "                     The migration tool tries to guess the\n"
+            "                     alias based on the hostname if none is specified.\n");
     fprintf(stderr,"  --verbose          "
             "print verbose messages during execution\n");
     fprintf(stderr,"  --help             "

Index: pvfs2-touch.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/admin/pvfs2-touch.c,v
diff -p -u -r1.4 -r1.4.4.1
--- pvfs2-touch.c	6 Jul 2007 05:23:20 -0000	1.4
+++ pvfs2-touch.c	4 Apr 2008 16:26:45 -0000	1.4.4.1
@@ -109,7 +109,7 @@ int main(int argc, char **argv)
         memset(&attr, 0, sizeof(PVFS_sys_attr));
         attr.owner = credentials.uid;
         attr.group = credentials.gid;
-        attr.perms = 0;
+        attr.perms = 0777;
         attr.atime = time(NULL);
         attr.mtime = attr.atime;
         attr.mask = PVFS_ATTR_SYS_ALL_SETABLE;



More information about the Pvfs2-cvs mailing list