WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tc boot /init switch_root  (Read 1551 times)

Offline mocore

  • Hero Member
  • *****
  • Posts: 667
  • ~.~
tc boot /init switch_root
« 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

Quote
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 ?