3 ms·
First, many filesystems do track recursive size. This feature is present in any filesystem that supports quotas. But this argument is a red herring. Any se
by stonogo 6y ago
First, many filesystems do track recursive size. This feature is present in any filesystem that supports quotas. But this argument is a red herring.
Any service that charges a unit price should make the unit cost of a service-set available easily to the customer. Failing to do so is user-hostile. "Unix directories nor Windows folders nor Mac folders" charge the user per byte.
- jeffbee 6y ago> This feature is present in any filesystem that supports quotas. That's not true. No Linux filesystem supports recursive size tracking even though they mostly support quotas. The quotas are enforced and tracked by the block/extent and inode allocators.
- stonogo 6y agoCephFS is the first counterexample that comes to mind. Recursive size and filecounts are available through extended file attributes (e.g. getfattr -d -m ceph.dir.* /path/to/dir) and can be made to be default in e.g. ls -l output.