4 ms·
It would be hard to do directory wide - how would you handle a hard link for example?
by abofh 4y ago
It would be hard to do directory wide - how would you handle a hard link for example?
- viraptor 4y agoChoose one behaviour and document it? Hard links are such a rare exception in any system that either ignoring them or compressing regardless would be fine. Or check what others have done. You can do "btrfs property set /path compress zstd", so someone's solved it before.
- eviks 4y agoCompress it since it's just a regular file, doesn't matter that it exists elsewhere Or add an config option Why is that hard?