Dnia Thu, Feb 25, 2021 at 06:20:34PM -0300, Sergio Belkin napisał(a):
Hi,
Tools such as ls or stat report the size of a directory. Of course it is
not the content size.
It depends on the filesystem. For Cephfs, directory size _is_ the content
size:
% ls -lh
drwxrwxr-x. 3 zdzichu zdzichu 90G 11-06 16:37 'Collection 1'
drwxr-xr-x. 17 root root 11M 09-23 15:45 postfix
drwxr-xr-x. 2 cherokee cherokee 15M 11-24 00:02 var_log_cherokee
I do not know what btrfs reports as directory size.
--
Tomasz Torcz “(…) today's high-end is tomorrow's embedded processor.”
tomek(a)pipebreaker.pl — Mitchell Blank on LKML