[Toybox] switch_root: mnt_ns->root stays on the initramfs since c04b565

Yunjie Li yunjieli at google.com
Thu Oct 1 21:11:47 UTC 2026


Thank you so much, Rob!

On Wed, Sep 30, 2026 at 3:02 PM Rob Landley <rob at landley.net> wrote:

> On 9/29/26 16:38, Yunjie Li wrote:
> > Hi Rob,
> > Reposting this from github since it looks like nobody saw it there --
>
> I have 593.patch downloaded here in my toybox directory, but it looks
> like I never actually acted on it. Oops.
>
> Looks fine, applied.
>
> > and you get the leftover mountpoint dir instead of the real root.
>
> I need to add the test in the description to the test suite, which is
> tied into the "needing root access" test plumbing, which is why I'm
> trying to finish the toybox shell to the point where I can run the build
> and the test suite under mkroot.
>
> The kconfig rewrite means it no longer needs "make" on the target to do
> any of that. I need to finish that up so the new plumbing can do
> menuconfig too, and then delete kconfig, but not _this_ release. I
> promised the guy from Intel I'd try to get a release out this month, and
> "try" is a weasel word but I'm about 1/3 of the way through the release
> notes and only 3 new tangents deep in the sidequest stack because of it...
>
> I admit the past day or two I've gotten a bit distracted camping the
> spawn of https://alpinebsd.org (which has a mailing list now)...
>
> Thanks,
>
> Rob
>
> P.S. I should probably add the old "poke me in a week if I forget"
> advice to https://landley.net/toybox/faq.html somewhere. If I want to do
> something different but haven't after a week, I usually admit defeat and
> apply the contributed fix as-is after a week so I'm not blocking users,
> and then change it later when/if I get back to it. In this case, the fix
> looks fine, I was probably just going "needs test suite update" and got
> distracted.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox/attachments/20261001/3c4ad418/attachment.htm>


More information about the Toybox mailing list