projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e5832
)
Added quota block size function
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 6 May 2007 22:48:31 +0000
(22:48 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 6 May 2007 22:48:31 +0000
(22:48 +0000)
quota/macos-lib.pl
patch
|
blob
|
history
diff --git
a/quota/macos-lib.pl
b/quota/macos-lib.pl
index
16c2a98
..
6aa59f9
100644
(file)
--- a/
quota/macos-lib.pl
+++ b/
quota/macos-lib.pl
@@
-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,