! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Free space on filesystem is incorrectly calculated
Status:
CLOSED: FIXED
Product:
Thunar-vfs
Component:
General

Comments

Description Tim van der Molen 2006-10-05 15:26:57 CEST
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.
Comment 1 Tim van der Molen 2006-10-05 15:28:15 CEST
Created attachment 817 
Patch.
Comment 2 Benedikt Meurer editbugs 2006-10-28 09:09:48 CEST
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.

Bug #2383

Reported by:
Tim van der Molen
Reported on: 2006-10-05
Last modified on: 2010-11-07

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Patch. (471 bytes, patch)
2006-10-05 15:28 CEST , Tim van der Molen
no flags

Additional information