What are Btrfs subvolumes in Linux? Understand how they work and why they are better than traditional partitions with features like snapshots and flexibility.
I wanted btrfs for ages for snapshots… Then I moved to nixos with Declarative config… Then I needed to move partitions to extend my drive into old root, decided to move to btrfs from ext4 cos why not at the time… Only afterwards do I realize snapshots aren’t that helpful when you’re on nixos… Or am I missing something?
Transparent fileystem compression and deduplication (btrfs feature not in ext4) compresses data while still having it be accessible normally. This leads to big space savings.
I wanted btrfs for ages for snapshots… Then I moved to nixos with Declarative config… Then I needed to move partitions to extend my drive into old root, decided to move to btrfs from ext4 cos why not at the time… Only afterwards do I realize snapshots aren’t that helpful when you’re on nixos… Or am I missing something?
Transparent fileystem compression and deduplication (btrfs feature not in ext4) compresses data while still having it be accessible normally. This leads to big space savings.
You can use the tool
compsizeto check it out.They are still useful for user data. For the nixos system itself, not so much.