Linux以列表格式显示块设备
youhaidong@youhaidong-ThinkPad-Edge-E545:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk sda1 8:1 0 60G 0 part sda2 8:2 0 1K 0 part sda5 8:5 0 102G 0 part sda6 8:6 0 102G 0 part sda7 8:7 0 101G 0 part sda8 8:8 0 19.1G 0 part / sda9 8:9 0 976M 0 part /boot sda10 8:10 0 47.7G 0 part /home sda11 8:11 0 3.8G 0 part [SWAP] sr0 11:0 1 1024M 0 rom youhaidong@youhaidong-ThinkPad-Edge-E545:~$