我知道外部命令是通过创建一个单独的进程在 shell 中运行的,但是在 shell 中运行内置命令时究竟会发生什么?
它们是作为函数执行的,还是 shell 创建一个新线程来执行它们?
这是我的分区表。fdisk -l 的输出
Device Boot Start End Blocks Id System
/dev/sda1 * 63 204796619 102398278+ 7 HPFS/NTFS/exFAT
/dev/sda2 204796681 488375999 141789659+ f W95 Ext'd (LBA)
/dev/sda5 204796683 337911209 66557263+ 83 Linux
/dev/sda6 337911273 488375999 75232363+ 7 HPFS/NTFS/exFAT
Run Code Online (Sandbox Code Playgroud)
我需要了解分区表,特别是 /dev/sda2,它显示 Ext'd (LBA)。