Maybe already reported bug, but bash is using 1024 bytes block size, but should be using 512 bytes.
I'm including my easy patch.
diff -up bash-3.2/builtins/ulimit.def.blocksize bash-3.2/builtins/ulimit.def --- bash-3.2/builtins/ulimit.def.blocksize 2008-06-02 14:59:38.000000000 +0200 +++ bash-3.2/builtins/ulimit.def 2008-06-02 15:02:38.000000000 +0200 @@ -199,7 +199,7 @@ typedef struct { static RESOURCE_LIMITS limits[] = { #ifdef RLIMIT_CORE - { 'c', RLIMIT_CORE, 1024, "core file size", "blocks" }, + { 'c', RLIMIT_CORE, 512, "core file size", "blocks" }, #endif #ifdef RLIMIT_DATA { 'd', RLIMIT_DATA, 1024, "data seg size", "kbytes" }, @@ -207,7 +207,7 @@ static RESOURCE_LIMITS limits[] = { #ifdef RLIMIT_NICE { 'e', RLIMIT_NICE, 1, "scheduling priority", (char *)NULL }, #endif - { 'f', RLIMIT_FILESIZE, 1024, "file size", "blocks" }, + { 'f', RLIMIT_FILESIZE, 512, "file size", "blocks" }, #ifdef RLIMIT_SIGPENDING { 'i', RLIMIT_SIGPENDING, 1, "pending signals", (char *)NULL }, #endif
begin:vcard fn:Roman Rakus n:Rakus;Roman org:Red Hat;BaseOS adr:;;;Brno;;;Czech Republic email;internet:[EMAIL PROTECTED] title:Associate software engineer tel;cell:+420 774 891 861 x-mozilla-html:FALSE version:2.1 end:vcard