Added quota block size function
authorJamie Cameron <jcameron@webmin.com>
Sun, 6 May 2007 22:48:31 +0000 (22:48 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 6 May 2007 22:48:31 +0000 (22:48 +0000)
quota/macos-lib.pl

index 16c2a98..6aa59f9 100644 (file)
@@ -332,6 +332,12 @@ return ($text{'grace_seconds'}, $text{'grace_minutes'}, $text{'grace_hours'},
        $text{'grace_days'});
 }
 
+# Always returns 1024 on MacOS
+sub fs_block_size
+{
+return 1024;
+}
+
 %name_to_unit = ( "second", 0, "seconds", 0,
                  "minute", 1, "minutes", 1,
                  "hour", 2, "hours", 2,