Reply
Thread Tools
Posts: 123 | Thanked: 108 times | Joined on Oct 2008 @ Prague, Czech
#11
"df" Number on left side with directory is not about size. Size is counted by "du -s /home/user/.cache/telepathy"

or for all dirs in .cache
Code:
~ $ cd .cache
~/.cache $ for dir in `find \. -maxdepth 1 -type d -print` ; do du -s ${dir} ; done
du: can't open './tracker': Permission denied
102664  .
10584   ./qneptunea
1148    ./4squick
32      ./wocky
1288    ./quasarmx
24      ./video-suite
608     ./facebook
340     ./music-suite
53220   ./data
du: can't open './tracker': Permission denied
20      ./libkok
60      ./contactsd
3364    ./media-art
12      ./nmsrestapi
112     ./wazapp
84      ./Notekeeper
27668   ./telepathy
4092    ./com.meecast.omweather
~/.cache $
 

The Following User Says Thank You to Kaacz For This Useful Post:
Posts: 146 | Thanked: 99 times | Joined on Jan 2012 @ Lisbon, Portugal
#12
You can lack block space (KB) or inodes (file handles). To check inodes, only "df -i" works.

/home/MyDocs will always show "0" because it's FAT32, but if the other partitions reach 0 inodes available all kinds of strange problems will happen - RSS feeds will get corrupted, mails will not reach you, contacts will be deleted, the camera won't start, etc.

"df" works on a partition level.

"du" works on directory level. "du -s" checks all subfolders of the selected folder.
__________________
SGH-2100,T39i,T68m,K750,T700,N95-1,N9/64
I like to stroke my N9 - My preciousssss....
Need Portuguese (European) localizations? Ask me.
 

The Following 2 Users Say Thank You to tigas For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 10:05.