This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Wrong directory size

Tags: None
(comma "," separated)
User avatar
smartalgorithm
Registered Member
Posts
30
Karma
1
OS

Wrong directory size

Tue Apr 10, 2012 9:08 pm
i guess, that my laptop have not 128 TiB hard drive space hahahah

Image


this is my root directory. i have selected all files and directories in it except /home directory. then right click and properties,,,, hahahahahaha what is it?
User avatar
smartalgorithm
Registered Member
Posts
30
Karma
1
OS

Re: Wrong directory size

Wed Apr 11, 2012 2:25 pm
hmmmmm.... you think that it is normalll??? :-(
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Wrong directory size

Wed Apr 11, 2012 2:38 pm
would suggest you file a bug report on bugs.kde.org

if you calculate amount on a reasonably sized folder (say /home) are the result correct?

the device graph and numbers shown are correct?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
smartalgorithm
Registered Member
Posts
30
Karma
1
OS

Re: Wrong directory size

Wed Apr 11, 2012 3:10 pm
yes, device graph are correct, and i get this "ERROR" only in '/' root directory...
here is a picture of my /home directory, i guess all is correct.

Image


what to do?
is it easy to submit a bug report? im new here, and dont know how and where to do :-(
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Wrong directory size

Wed Apr 11, 2012 3:20 pm
bug reporting is pretty easy, there's a selection of apps to select, then a list of recent relevant reports to ensure it's not already reported followed by a form to be filled out . if the bugs already reported you can add your information and also vote for it


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Wrong directory size

Wed Apr 11, 2012 3:21 pm
Can you just double check with something like ncdu or some such to see whether they report the correct size?


Debian testing
User avatar
smartalgorithm
Registered Member
Posts
30
Karma
1
OS

Re: Wrong directory size

Wed Apr 11, 2012 3:23 pm
sorry, but what ncdu is? :-)
User avatar
smartalgorithm
Registered Member
Posts
30
Karma
1
OS

Re: Wrong directory size

Wed Apr 11, 2012 3:37 pm
tryed ncdu... i guess all is ok :-)

http://dl.dropbox.com/u/53352759/snapshot7.png

as i can see, "Total disk usage: 13.0GiB Apparent size: 12.8GiB Items: 106500 "

:-)
User avatar
smartalgorithm
Registered Member
Posts
30
Karma
1
OS

Re: Wrong directory size

Wed Apr 11, 2012 3:42 pm
oh, nooo,,, it is not correct, here is result of ncdu in root / diectory:
Total disk usage: 18.8GiB Apparent size: 128.0TiB Items: 355789

http://dl.dropbox.com/u/53352759/snapshot8.png


sooo??? it is a not bug of KDE???
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Wrong directory size

Wed Apr 11, 2012 3:55 pm
ncu has it's own bug tracker http://dev.yorhel.nl/ncdu/bug

as I don't know what Dolphin calls to calculate this could you try the command
Code: Select all
du -sb
for / as it's a more standard command then ncdu


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
smartalgorithm
Registered Member
Posts
30
Karma
1
OS

Re: Wrong directory size

Wed Apr 11, 2012 4:01 pm
ok, thank you all :-)
User avatar
smartalgorithm
Registered Member
Posts
30
Karma
1
OS

Re: Wrong directory size

Wed Apr 11, 2012 4:58 pm
here is what a guy from ncdu says me(yess i have reported it :-) )

"That's the apparent size (i.e. how many bytes you get when you'll actually read the files), not really disk usage. Hit 'a' to switch to viewing the apparent sizes for each directory to hunt down the problematic file. Most likely it's /proc/kcore.

I advice the use of the -x flag to tell ncdu to scan only a single filesystem, not /proc, /sys, and whatever else you may have mounted."

so, , , it is a not bug ahahahah it is a FEATURE haahahahahah
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Wrong directory size

Wed Apr 11, 2012 5:07 pm
maybe still report this to bugs.kde and that they should change to using -x flag


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
smartalgorithm
Registered Member
Posts
30
Karma
1
OS

Re: Wrong directory size

Wed Apr 11, 2012 5:14 pm
yes i have don it simultaneously ;-)
but one thing,,, i installed ncdu after this error, so kde uses some other software, not ncdu ,,,
hmmmm...
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Wrong directory size  Topic is solved

Wed Apr 11, 2012 5:22 pm
why I suggest you still post on bugs.kde.org, they may use du (estimate file space usag) which might have same "feature"


OpenSuse Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]