Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: mocore on January 16, 2019, 01:01:36 PM
-
searching for : switch_root vs pivot_root , because of error's found in the : "Request guix" topic
i managed to dig up this link
https://unix.stackexchange.com/questions/126217/when-would-you-use-pivot-root-over-switch-root
Shorter Version
While the system boots, it needs an early userspace. It can be achieved using either initramfs or initrd.
initrd is loaded into ramdisk which is an actual FILE SYSTEM.
initramfs is not a file system.
For initrd pivot_root is used and for initramfs switch_root is used.
is this info correct ?