首先执行fdisk -l最底下
Device Start End Sectors Size Type
/dev/vda1 2048 6143 4096 2M BIOS boot
/dev/vda2 6144 104857566 104851423 50G EFI System
然后df指令:
Filesystem 1K-blocks Used Available Use% Mounted on
udev 487880 0 487880 0% /dev
tmpfs 101612 10936 90676 11% /run
/dev/vda2 51471976 5861852 43287236 12% /
tmpfs 508044 0 508044 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 508044 0 508044 0% /sys/fs/cgroup
tmpfs 101612 0 101612 0% /run/user/0
udev:外设硬件设备映射目录
tmpfs ;临时目录
vda1表示:虚拟磁盘A分区1
类推
sda是实硬盘