pivot_root()?
pivot_root()?
Posted Mar 13, 2026 20:49 UTC (Fri) by jbroadus (subscriber, #115605)In reply to: pivot_root()? by pabs
Parent article: Practical uses for a null filesystem
Brief explanation in the patch cover letter:
"Currently pivot_root() doesn't work on the real rootfs because it cannot be unmounted. Userspace has to do a recursive removal of the
initramfs contents manually before continuing the boot."
"Currently pivot_root() doesn't work on the real rootfs because it cannot be unmounted. Userspace has to do a recursive removal of the
initramfs contents manually before continuing the boot."
So maybe picot_root() could be modified but wouldn't know how to clean up the old filesystem?
