LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Wrong calculation of free disk space by kdiskfree (https://www.linuxquestions.org/questions/mandriva-30/wrong-calculation-of-free-disk-space-by-kdiskfree-413149/)

AGazzaz 02-08-2006 04:06 PM

Wrong calculation of free disk space by kdiskfree
 
Hello
i have been looking for a 3 GB disk space for some downloads and i used kdiskfee and it was totally impossible to find that i have used only 3% on my main storage drive

after using the ordinary method (Right click> properties on the mounted drive's folder) i got the accurate results but in a long time indeed (you may check the screenshot http://www.boomspeed.com/darkknight/win_d.jpg 180 kb

there was no change after using the update option of kdiskfree

and there is no need to tell you i want that simple program to calculate things right for me

Thanks
Ahmad

Bruce Hill 02-08-2006 04:56 PM

Did you try "du -sh ." in that directory from a terminal?
Or "df -h" in a terminal?
Code:

bruce@silas:~$ du -sh .
9.7G    .

bruce@silas:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7            5.6G  3.2G  2.5G  56% /
/dev/sda6              95M  37M  58M  40% /boot
/dev/sda8              21G  16G  5.0G  76% /home
/dev/sda1              15G  6.1G  8.7G  42% /WinXP
/dev/sda2              19G  11G  8.1G  57% /Shared
/dev/sdb2            9.4G  6.9G  2.5G  75% /Slack_shared
/dev/sdb6            5.6G  3.1G  2.6G  55% /Slack_root
/dev/sdb7            9.4G  8.7G  682M  93% /Slack_home
/dev/sdb8              28G  14G  15G  48% /Slack_network
/dev/sdb9              19G  16G  2.9G  85% /Slack_fileshare


AGazzaz 02-09-2006 06:25 AM

Code:

[gazzaz@localhost ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5            3.9G  3.3G  372M  91% /
/dev/hda1            4.7G  4.5G  197M  96% /mnt/win_c
/dev/hda7              24G  688M  23G  3% /mnt/win_d
/dev/hda8              24G  14G  11G  57% /mnt/win_e
/dev/hda9              19G  250M  19G  2% /mnt/win_f

[gazzaz@localhost win_d]$ du -sh .
du: `./_1 Quran': No such file or directory
du: `./ids': No such file or directory
du: `./New Folder (3)': No such file or directory
du: `./Documents': No such file or directory
du: `./Profiles': No such file or directory
du: `./WUTemp': No such file or directory
du: `./rally': No such file or directory
du: `./movies': No such file or directory
16G    .

[gazzaz@localhost win_d]$ du -sh
du: `./New Folder (2)': No such file or directory
du: `./New Folder (3)': No such file or directory
du: `./to cd': No such file or directory
du: `./Arabic old songs': No such file or directory
du: `./Movies SoundTracks': No such file or directory
du: `./Documents': No such file or directory
du: `./webshots': No such file or directory
du: `./Profiles': No such file or directory
du: `./Acronis.Partition.Expert.2003': No such file or directory
du: `./WUTemp': No such file or directory
du: `./rally': No such file or directory
du: `./movies': No such file or directory
13G    .

same old results plus i can not understand what happened although i used du --help

Thanks


All times are GMT -5. The time now is 01:57 PM.