Linux

chroot中挂在/dev

mount -t proc proc ./rootfs/proc
mount -t sysfs sys ./rootfs/sys
mount -o bind /dev ./rootfs/dev
chroot rootfs

留言