Lsblk

From DikapediaV2
Jump to: navigation, search
$ lsblk
NAME          MAJ:MIN RM SIZE RO TYPE MOUNTPOINT 
nvme0n1       259:0    0  10G  0 disk 
├─nvme0n1p1   259:1    0  10G  0 part /
└─nvme0n1p128 259:2    0   1M  0 part 
$ lsblk -f
NAME          FSTYPE LABEL UUID                                 MOUNTPOINT
nvme0n1                                                         
├─nvme0n1p1   xfs    /     afcf1342-1d40-41bd-bde9-e4ea5d87e3b6 /
└─nvme0n1p128                                                   
$ lsblk -o +SERIAL
NAME          MAJ:MIN RM SIZE RO TYPE MOUNTPOINT SERIAL
nvme0n1       259:0    0  10G  0 disk            vol072c01b9ec464d558
├─nvme0n1p1   259:1    0  10G  0 part /          
└─nvme0n1p128 259:2    0   1M  0 part