Detect if SSD
to complete my linux script I need a possibility to detect, if the drive is
a ssd or an conventional hard drive.
Under windows, i wrote a small application to get the rpm of the disk. If 0,
then it's a ssd.
But under linux, especialy in a bash script, i don't know how to get this
The only thing I found out at the moment, is to test the performance (
hdparm -t /dev/sdx ) an guess that a value (let us say) < 100 MB/sec ís an
Has anyone another idea?
IT Senior Consultant