User Tools

Site Tools


docu:csheet:sysadm:disks:get_rotational

Check a disk is HDD or SSD (rotational)


You often get a new PC or laptop or using another person's computer and you may not know the disk technology being used (HDD/SSD). So, on linux you can use a sys kernel file to find it out.

cat /sys/block/sda/queue/rotational
# 0 means SSD, 1 means HDD
# replace "sda" to your needs
docu/csheet/sysadm/disks/get_rotational.txt · Last modified: 2020/02/29 16:51 by admin