LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   KMail: Mail folder location and correct storage space calculation? (https://www.linuxquestions.org/questions/linux-desktop-74/kmail-mail-folder-location-and-correct-storage-space-calculation-751243/)

gargamel 08-30-2009 08:05 AM

KMail: Mail folder location and correct storage space calculation?
 
Dear all,

my quick research on LQ and with my favourite internet search engines hasn't given useful results, but if I am missing something, please just give me a pointer into the right direction. During the migration to Slackware 13 and KDE 4.2.4 I observed something I don't understand regarding KMail.

My understanding is, that KMail stores email messages by default in ~/.kde/share/apps/kmail. Problem is that storage space is calculated differently depending on the PWD and command I use.

Using du in kmail I get:

Code:

user@linux:~/.kde/share/apps/kmail$ du -s -m *
1      autosave
1      autosave.index.ids
1      dimap
1      imap
1      lock
2102    mail
1      search
1      unfiltered.1079850475
[...]

Now, when I change into mail in order to check the size of the sub-folders and files there, I get only small numbers, that never result in the 2102 MB computed by su:

Code:

user@linux:~/.kde/share/apps/kmail$ cd mail
user@linux:~/.kde/share/apps/kmail/mail$ du -s -m *
1      Aktuell
1      Archiv
1      SP0axA2dAcU
1      SP0axa00429
1      SP0axeyQHCn
1      drafts
95      inbox
1      outbox
75      sent-mail
1      templates
1      trash

I'd be grateful, if anyone could give me a short explanation, what's going on here, and if this behaviour is correct or indicating that something's fundamentally wrong with my system.

If the figures of both commands are correct: Where are the missing 1800 MB, then, not seen by the second du?

Thanks in advance!

gargamel

gargamel 09-04-2009 06:17 AM

[SOLVED] Marked it as solved, but actually it isn't. I just want to create a new thread with a better title. Obviously noone replied, because noone understood what I was asking. I hope to make it clearer in a new thread

gargamel


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