1)df -hl
说明: -h
-l 不显示NFS挂载
例如:
Filesystem
/dev/sda1
/dev/sda3
tmpfs
2)fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda4
/dev/sda5
Partition table entries are not in disk order