Hi,
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
info.
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
ssd.

Has anyone another idea?

Thanks.
--

the-woodle
IT Senior Consultant