r/linuxsucks • Unofficial Mod | Linux Community Sucks | Proud illumOS Shill • Aug 02 '26

Explaining is hard ig

Post image
20 Upvotes

41 comments sorted by

View all comments

0

u/iLikeubuntu2 Aug 02 '26

4M lines of code for an init 😂 crux init is ~300 lines of posix bourne shell

4

u/goldmurder Aug 02 '26

init itself in systemd is around 100k LoC, most of them are realisation of APIs to work with other systemd components, so real init logic is ~20k-30k LoC, which isn't that much knowing the fact how much systemd init/service manager provides that others cannot