How do you check if the disk is SSD or HDD in Linux?
Answer
Just in case if lsblk command is not available, just install util-linux package using your distribution’s package manager. Here, “rota” means rotation device. If you get value of rota in the above output as 1,
the disk is HDD. If the value is 0 (zero), then the disk is SSD.
Answer
Just in case if lsblk command is not available, just install util-linux package using your distribution’s package manager. Here, “rota” means rotation device. If you get value of rota in the above output as 1,
the disk is HDD. If the value is 0 (zero), then the disk is SSD.