Aomighty Posted August 18, 2005 Report Share Posted August 18, 2005 Recently, I accidentally did a sudo rm -rf ~ :P . I stopped the command soon enough to recover my data lol. Anyway, I'm worried it did something wierd, because now all my folders show up as size 4 K, whereas files show up fine. If I right-click and choose Properties from Konqueror, it calculates it correctly. I did a chown and chmod 775 recursively on my home directory to make sure it wasn't a permissions issue, at least within the home directory itself. Also, it happens if I create a new user as well, and it happens as root too. Any ideas? I heard the Linux filesystem (I'm using ext3) maybe does that because of cluster sizes, but I didn't think that happened before... Thanks all. [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
Qchem Posted August 19, 2005 Report Share Posted August 19, 2005 Thats how it should be, a directory always takes up 4k - thats how much space it takes on disk (without its contents). If you want to know how big the contents are, you should; du -sh /path/to/dir Quote Link to comment Share on other sites More sharing options...
Aomighty Posted August 19, 2005 Author Report Share Posted August 19, 2005 Ok. I wish it would list the size of the folder and its contents, rather than just the folder itself in Konqueror, is there any way you know of to do that? Quote Link to comment Share on other sites More sharing options...
tyme Posted August 19, 2005 Report Share Posted August 19, 2005 right clicking and going to properties is the only way to get the actual size of the directory in konqueror, IIRC. is it really that hard? ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.