El jue, 25 feb 2021 a las 21:58, John Reiser (<jreiser@bitwagon.com>) escribió:
> Tools such as ls or stat report the size of a directory. Of course it is not the content size.
> stat -c %s  /home/sergio/.config
> 6550
>
> What does 6550 mean in btrfs context?

Regardless of filesystem type, the size of a directory is the sum of the sizes
of the struct linux_dirent (or linux_dirent64) for the filenames of the contained files.
See the manual page "man 2 getdents".
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

Thanks everyone, I thought that it had a special meaning for btrfs
--
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org