就是这个
switch_root是initramfs启动用的;pivot_root是initrd启动用的
【 在 ArchLinux 的大作中提到: 】
: 我开始想到的是 initramfs 里面用的 switch_root, 然而看了下 switch_root(8), 不小心用错就完蛋了。
: WARNING: switch_root removes recursively all files and directories on the current root filesystem.
--
FROM 1.202.11.*