When I open Nautilus and I go to the other locations I can see my unmounted hdd wich name is /dev/sda1 and it's real name is HDD. How can I found the real name of /dev/sda1 from the command line?

  • Do you mean the label of the partition? I use lsblk to get a picture of my disk tree; here's the full command: lsblk -o NAME,LABEL,SIZE,FSTYPE,MOUNTPOINT,UUID Feb 16, 2020 at 17:56
  • sorry @ajgringo619, I didn't saw your comment when I posted my answer, I will leave it because -f might be easier to remember Feb 16, 2020 at 18:09
  • No problem, @MunzirTaha. Feb 16, 2020 at 18:09

1 Answer 1


By real name, you mean the LABEL. This can be viewed with

lsblk -f


ls -l /dev/disk/by-label


sudo blkid -o list

  • Thanks. This is what I looked for.
    – user388486
    Feb 16, 2020 at 18:17

You must log in to answer this question.