Directory file size change
by compis from LinuxQuestions.org on (#6G4ZW)
When I perform a ls on most directories the file size is 4096 bytes but in a few cases I have seen the directory size change. an example is the app vocal it placed a cache file that was bigger than 4096.
What is occurring ? I can see no reason for the size of a directory to change and if there is a reason what is it
Normal listing
ls -l
total 40
drwxr-xr-x 6 name name 4096 Nov 4 09:14 Desktop
drwxr-xr-x 18 name name 4096 Nov 4 04:00 Documents
drwxr-xr-x 11 name name 4096 Nov 4 11:57 Downloads
drwxr-xr-x 3 name name 4096 Jun 23 03:14 Music
drwxr-xr-x 4 name name 4096 Oct 14 02:17 Pictures
drwxr-xr-x 2 name name 4096 Aug 12 18:11 Public
What is occurring ? I can see no reason for the size of a directory to change and if there is a reason what is it
Normal listing
ls -l
total 40
drwxr-xr-x 6 name name 4096 Nov 4 09:14 Desktop
drwxr-xr-x 18 name name 4096 Nov 4 04:00 Documents
drwxr-xr-x 11 name name 4096 Nov 4 11:57 Downloads
drwxr-xr-x 3 name name 4096 Jun 23 03:14 Music
drwxr-xr-x 4 name name 4096 Oct 14 02:17 Pictures
drwxr-xr-x 2 name name 4096 Aug 12 18:11 Public