[Ocfs2-tools-commits] manish commits r724 - trunk/ocfs2console/ocfs2interface

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Mar 21 17:29:41 CST 2005


Author: manish
Date: 2005-03-21 17:29:39 -0600 (Mon, 21 Mar 2005)
New Revision: 724

Modified:
   trunk/ocfs2console/ocfs2interface/general.py
Log:
Show bytes in space fields


Modified: trunk/ocfs2console/ocfs2interface/general.py
===================================================================
--- trunk/ocfs2console/ocfs2interface/general.py	2005-03-21 21:18:15 UTC (rev 723)
+++ trunk/ocfs2console/ocfs2interface/general.py	2005-03-21 23:29:39 UTC (rev 724)
@@ -67,7 +67,7 @@
                     if numbits:
                         blocks = (vars()[member] * 
                                   (clustersize >> super.s_blocksize_bits))
-                        val = format_bytes(blocks * blocksize)
+                        val = format_bytes(blocks * blocksize, show_bytes=True)
                     else:
                         val = 'N/A'
                 else:



More information about the Ocfs2-tools-commits mailing list