The difference between NAME and KNAME is that the former indicates the device name, while the latter means the internal kernel device name.
This tree-like view of partitions is quite intuitive. In this case, /dev/sda contains an LVM with encrypted partitions. Then, for each disk, we can list its partitions with lsblk, for example: $ lsblk /dev/sda -o NAME,KNAME,FSTYPE,MOUNTPOINT,SIZE The detailed information provided by lshw helps us not to be mistaken. First, let’s identify the disks via lshw: # lshw -class disk There are several methods to find all storage devices.
Let’s look at some examples: /dev/hd, /dev/sd, /dev/vd, /dev/nst*, /dev/sg*, /dev/twe, and so on. In the rest of this tutorial, we need to know which device files identify our disks and their partitions.