Re: [PATCH] switch_root: remove /init check

2024-05-30 Thread Linus Heckemann
Kang-Che Sung writes: > Linus Heckemann 於 2024年4月23日 星期二寫道: >> >> I don't really see the existence of /init being so critical for >> this check given that we check below that it's a ramfs or tmpfs, which >> seems to me to be enough that people won't be destroyin

Re: [PATCH] switch_root: remove /init check

2024-04-23 Thread Linus Heckemann
Kang-Che Sung writes: > Linus Heckemann 於 2024年4月19日 星期五寫道: >> We were having some difficulty switching out of our custom initramfs >> into the final filesystem, with the error "message '/init' is not a >> regular file". We were confused as to why it was looking f

[PATCH] switch_root: remove /init check

2024-04-19 Thread Linus Heckemann
We were having some difficulty switching out of our custom initramfs into the final filesystem, with the error "message '/init' is not a regular file". We were confused as to why it was looking for `/init` -- we didn't have `/init`, neither in our initrd nor in the destination filesystem -- we