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.”
[email protected]                      — Mitchell Blank on LKML
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to