Index: /trunk/Nebulous/bin/neb-df
===================================================================
--- /trunk/Nebulous/bin/neb-df	(revision 34922)
+++ /trunk/Nebulous/bin/neb-df	(revision 34923)
@@ -53,5 +53,5 @@
     my $path        = $vol{host};
     if ($names) {
-	$path = $vol{name};
+        $path = $vol{name};
     }
 
@@ -61,13 +61,13 @@
     $total_used     += $used;
     my $available   = $total - $used;
-    my $usedper     = ($used / $total) * 100; 
+    my $usedper     = ($used / ($total+1)) * 100;
     my $mountpoint  = $vol{mountpoint};
 
     if ($vol{allocate} == 1) {
-	$allocated_total += $total;
-	$allocated_used += $used;
+        $allocated_total += $total;
+        $allocated_used += $used;
     }
     # indicated the part of the nebulous volume name that matches up with a
-    # local volume (mountpoint) 
+    # local volume (mountpoint)
     #$path =~ s/$mountpoint/[$mountpoint]/;
 
@@ -95,5 +95,5 @@
 
 my $total_available   = $total_total - $total_used;
-my $total_usedper     = ($total_used / $total_total) * 100; 
+my $total_usedper     = ($total_used / $total_total) * 100;
 
 # summary
@@ -112,5 +112,5 @@
 
 my $allocated_available   = $allocated_total - $allocated_used;
-my $allocated_usedper     = ($allocated_used / $allocated_total) * 100; 
+my $allocated_usedper     = ($allocated_used / $allocated_total) * 100;
 
 # summary
@@ -188,5 +188,5 @@
 =item * C<NEB_PASS>
 
-Equivalent to --pass|-p 
+Equivalent to --pass|-p
 
 =back
