💾 Archived View for midnight.pub › replies › 5535 captured on 2023-01-29 at 21:21:44. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

< Migrating from Arch to GUIX, or, An Exercise in Toe-Dipping

Parent

~dog

The details of how bedrock works are interesting, although for simplicity's sake it mostly boils down to a pair of FUSE filesystems: etcfs and crossfs.

https://github.com/bedrocklinux/bedrocklinux-userland/tree/master/src/etcfs

https://github.com/bedrocklinux/bedrocklinux-userland/tree/master/src/crossfs

The two of them together consist of less than 5000 well-commented lines of code total, so likely worth the read.

That said, as I understand it, it does duplicate libraries when it comes to dependencies -- each package manager is entirely unaware of the other package managers running in other stratum.

Write a reply

Replies

~tetris wrote (thread):

Hah. My C/C++ is good, but not ahha-an-implicit-linux-struct-very-nice kind of good

Though, I wonder how hard it would be to have a background process that scans library paths for identical files, and then deduplicates them to some central bedrock-only library path?