我想知道是否可以只挂载 sysfs 的一部分以在 chroot 中使用。示例我只需要 /sys/class/gpio 而不需要休息。
mount -t sysfs sys/some/folder /mnt/temp_sys
linux chroot mount sysfs
chroot ×1
linux ×1
mount ×1
sysfs ×1