On OpenBSD/amd64, the free space on a filesystem is incorrectly calculated. A few examples: df -h Thunar ----------------- 6.2 GB -1.8 GB 4.4 GB 428.0 MB 53.4 GB 1.4 GB Furthermore, on OpenBSD/i386 the free space is correctly calculated, but it is always shown in bytes, not in kB/MB/GB when appropriate. The attached patch fixes both issues.
Created attachment 817 Patch.
Committed with revision 23534. 2006-10-28 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-io-local.c(_thunar_vfs_io_local_get_free_space): Apply patch from Tim van der Molen <tbvdm@xs4all.nl> to calculate free space properly on OpenBSD/amd64. Bug #2383.