Index: plugins/check_disk.c =================================================================== --- plugins/check_disk.c (revision 1828) +++ plugins/check_disk.c (working copy) @@ -311,6 +311,10 @@ available_to_root = fsp.fsu_bfree; used = total - available_to_root; + if (verbose >= 3) + printf ("For %s, total=%llu, available=%llu, available_to_root=%llu, used=%llu, fsp.fsu_files=%llu, fsp.fsu_ffree=%llu\n", + me->me_mountdir, total, available, available_to_root, used, fsp.fsu_files, fsp.fsu_ffree); + dused_pct = calculate_percent( used, used + available ); /* used + available can never be > uintmax */ dfree_pct = 100 - dused_pct;