lsblk command list all available device or a block devices. Also read the sysfs filesystem and udev db togather information.
Expect RAM disks prints in tree format. lsblk –help will show list of options that can be used.
by default the NAME,MAJ:MIN,RM,SIZE,RO,TYPE,MOUNTPOINT columns will be listed. we can also customize the menus. The lsblk command will be very helpful while we adding / removing the disk, to check mounted filesystem of the disks.