Hacker News new | ask | show | jobs
by tcp_handshaker 36 days ago
https://docs.kernel.org/driver-api/early-userspace/early_use...

C. "...using initramfs. The call to prepare_namespace() must be skipped. This means that a binary must do all the work. Said binary can be stored into initramfs either via modifying usr/gen_init_cpio.c or via the new initrd format, an cpio archive. It must be called “/init”. This binary is responsible to do all the things prepare_namespace() would do..."

1 comments

This is good feedback, I'll going to incorporate it to the article, to make it more clear about the two paths there. Thanks.