| 9 Dec 2025 |
Atemu | A while back, I found nothing in this direction and gave up because even with gross scripts, you can't get other clients that bring their own nix client (i.e. colmena, nixpkgs-review to not do remote builds by default. | 11:53:04 |
Atemu | * | 11:53:35 |
Sofie 🏳️⚧️ (she/her) | or nix portable? | 12:50:25 |
| madmccrow joined the room. | 14:12:12 |
| @emanuelm153:matrix.org left the room. | 21:17:35 |
neobrain | Is it expected that the disk space reported by nix store gc is much higher than the actual savings I see when comparing (btrfs filesystem) df / before/after the gc run? | 23:23:42 |
neobrain | One scenario I tested makes the former report 2.4 GiB savings when it was actually only 1 GiB, for example | 23:24:14 |
raitobezarius | btrfs is CoW | 23:24:30 |
raitobezarius | lix has no way to know better than summing up sizes of things being deleted | 23:24:43 |
raitobezarius | * btrfs is CoW & compressed | 23:24:48 |
raitobezarius | * btrfs is CoW & [inline] compressed | 23:24:53 |
raitobezarius | but btrfs knows much better than us | 23:25:06 |
neobrain | oh interesting. Compression makes a lot of sense. How does CoW influence this? | 23:25:46 |
raitobezarius | if 2 inodes are CoWed and lix removes them [while they're not hardlinked], lix will count them twice but btrfs will deduce once I suppose? | 23:26:26 |
raitobezarius | if the CoW is transparent via reflinking, maybe we could know but I don't know off my head whether this is the case | 23:27:15 |
neobrain | That's deduplication, right? I assumed that only happened after user request | 23:27:27 |
neobrain | * That's deduplication, right? I assumed that only happened after user request since btrfs doesn't do it automatically | 23:27:56 |
raitobezarius | indeed, if reflinkage only happens upon demand, then, CoW doesn't influence this | 23:28:01 |
raitobezarius | but as a user you may try to run automatic large scale reflinkage | 23:30:00 |
raitobezarius | without us knowing it | 23:30:05 |
neobrain | right | 23:31:05 |
neobrain | So apparently there's a tool called compsize that ties into btrfs to give me compression stats. Running it on /nix/store perfectly explains the gap that I measured :) | 23:32:03 |
raitobezarius | Awesome :) | 23:32:19 |
| 10 Dec 2025 |
| jkachmar changed their profile picture. | 02:50:13 |
KFears (burnt out) | Having filesystem awareness for Lix would be awesome! Though, not super priority, haha | 07:57:49 |
raitobezarius | probably not a goal on our side | 08:16:44 |
raitobezarius | that seems like more of a UAPI kernel responsibility | 08:16:47 |
Sofie 🏳️⚧️ (she/her) | girls, boys, enbies. I got my HRT prescription!!!! 🩷🩷🩷 | 11:07:23 |
K900 | Congratulations but also probably #Lix Off Topic | 11:07:41 |
K900 | :) | 11:07:42 |