cluster/gfs2 man/gfs2_tool.8 tool/df.c tool/main.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2007-11-14 17:18:09
Modified files:
gfs2/man : gfs2_tool.8
gfs2/tool : df.c main.c
Log message:
Resolves: bz 352841: GFS2: Evaluate and implement missing gfs2_tool features
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/man/gfs2_tool.8.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/tool/df.c.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/tool/main.c.diff?cvsroot=cluster&r1=1.8&r2=1.9
gfs2/man/gfs2_tool.8 +4 -4
@@ -21,10 +21,10 @@ \fBcounters\fP \fIMountPoint\fR [-c] Print out statistics about a filesystem. If -c is used, gfs2_tool continues to run printing out the stats once a second. -.\".TP -.\"\fBdf\fP \fIMountPoint\fR -.\"Print out a space usage summary of a given filesystem. The information -.\"printed is more detailed than a standard "df". +.TP +\fBdf\fP \fIMountPoint\fR +Print out a space usage summary of a given filesystem. The information +printed is more detailed than a standard "df". .\".TP .\"\fBflush\fP \fIFile\fR .\"Sync out any dirty data for a file and drop its lock.
gfs2/tool/df.c +63 -92
205 lines not on this page · raw message
gfs2/tool/main.c +5 -5
@@ -45,6 +45,9 @@"Print the counters for a filesystem\n" ," gfs2_tool counters <mountpoint>\n" ,"\n" , +"Do a GFS2 specific \"df\":\n" , +" gfs2_tool df <mountpoint>\n" , +"\n" ,"Freeze a GFS2 cluster:\n" ," gfs2_tool freeze <mountpoint>\n" , "\n",
@@ -92,9 +95,6 @@" gfs2_tool withdraw <mountpoint>\n" , #if GFS2_TOOL_FEATURE_IMPLEMENTED"\n" , -"Do a GFS2 specific \"df\"\n" , -" gfs2_tool df <mountpoint>\n" , -"\n" ,"Force files from a machine's cache\n" ," gfs2_tool flush <filenames>\n" , "\n",
@@ -233,6 +233,8 @@set_flag (argc, argv); else if (strcmp(action, "counters") == 0) print_counters(argc, argv); + else if (strcmp(action, "df") == 0) + print_df(argc, argv); else if (strcmp(action, "freeze") == 0) do_freeze(argc, argv); else if (strcmp(action, "getargs") == 0)
@@ -266,8 +268,6 @@do_file_flush (argc, argv); else if (strcmp(action, "getsb") == 0) print_sb(argc, argv); - else if (strcmp(action, "df") == 0) - print_df(argc, argv); else if (strcmp(action, "jindex") == 0) print_jindex(argc, argv); else if (strcmp(action, "layout") == 0)