Bug#522834: kaboom: Underestimates free space for backup
Package: kaboom
Version: 1.1.0
Severity: important
I'm trying to use kaboom to copy my ~/.kde4 settings to ~/.kde,
now that KDE4 will use ~/.kde. I have over 4GB free space on my
/home partition, and ~.kde is only 190MB according to "du".
However, kaboom claims that there is not enough free space to
make a backup of ~/.kde.
The output from kaboom on the terminal is:
***********************
tmac@tmac ~$ kaboom
---- Kaboom Settings Dump ----
kdehome - "/home/tmac/.kde" - exists?: YES
kde4home - "/home/tmac/.kde4" - exists?: YES
kde3backup - "/home/tmac/kde3-backup" - exists?: NO
kaboom stamp - "/home/tmac/.local/kaboom" - exists?: NO
---- -------------------- ----
loading translation failed
freeDirSpace "/home/tmac" 56987648
calculateDirSize "/home/tmac/.kde" 168065861
totalPartitionSize "/home/tmac" 3031998464
*************************
The "freeDirSpace" must be the number that should represent the
amount of free space. But that number seems to be correct. I have
over 4GB free, as can be seen using "df":
**************************
tmac@tmac ~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 8586240 4101016 4049064 51% /
tmpfs 517520 8 517512 1% /lib/init/rw
udev 10240 92 10148 1% /dev
tmpfs 517520 0 517520 0% /dev/shm
/dev/hda2 49098280 42354236 4249956 91% /home
**************************
The /home partition is around 50GB, so the other number (totalPartitionSize)
also seems a bit strange.
Best regards
Torquil Sørensen
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (700, 'unstable'), (650, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.28-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kaboom depends on:
ii libc6 2.9-6 GNU C Library: Shared libraries
ii libgcc1 1:4.3.3-5 GCC support library
ii libqtcore4 4.5.0-2 Qt 4 core module
ii libqtgui4 4.5.0-2 Qt 4 GUI module
ii libstdc++6 4.3.3-5 The GNU Standard C++ Library v3
kaboom recommends no packages.
kaboom suggests no packages.
-- no debconf information
Reply to: