SSD vs. HDD
Hello
Any efficient way on knowing whether my PC contains an SSD or an HDD? Can linux differentiate between the 2? Thanks |
You can get hardware info from your server with
Code:
$ lshw then find the hard drives info and google for the string from the output you get: Code:
*-disk SSD don't have it. I hope this helps you. |
Hi,
Welcome to LQ! Quote:
Quote:
Quote:
|
Quote:
|
Quote:
|
Bios may contain info.
|
Quote:
For example: Code:
fukawi1 ~ # lsscsi This may be a hacky way of doing it via a script, but, perhaps using hdparm -t: Code:
fukawi1 ~ # hdparm -t /dev/sda1 Code:
fukawi1 ~ # hdparm -t /dev/sda | grep Timing | awk ' {print $11 }' Thats probably not particularly accurate, since there may be a blurred line between HDD speeds, and older/slower SSD speeds, and Im sure there is an easier(better?) way to do it, but I am known for doing things the hard way ;) |
All times are GMT -5. The time now is 03:52 AM. |