4 ms·
I used a similar trick to stuff 14 Linux distros onto a 6 GiB sized SD card image using btrfs filesystem. The distros share a lot of common files, so this works
by megous 4y ago
I used a similar trick to stuff 14 Linux distros onto a 6 GiB sized SD card image using btrfs filesystem. The distros share a lot of common files, so this works well to save space. (btrfs also supports the data block sharing CoW feature as APFS)
https://xnux.eu/p-boot-demo/ https://xnux.eu/p-boot-demo/
I had to write a custom tool to do it efficiently during image creation.
- tarasglek 4y agoThis was neat. Found the important bits in https://megous.com/git/pinephone-multi-boot/tree/tools/main.c#n169 https://megous.com/git/pinephone-multi-boot/tree/tools/main....
- itsthecourier 4y agoYou, savage. Kudos.