我开始想到的是 initramfs 里面用的 switch_root, 然而看了下 switch_root(8), 不小心用错就完蛋了。
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
【 在 JulyClyde 的大作中提到: 】
: 不知道你说的switch root是什么
: 按说只有pivot和chroot两种吧
--
FROM 221.216.117.*