On 01/09/16 14:51, Kevin Wilson wrote:

Is there a way to know whether to boot was done from SSD or not ?
(I know I can try to read the product name of the device from which
boot was done, but in many cases this is not enough to know straight
away whether it is SSD or not.

cat /sys/block/sdX/queue/rotational

1 = Spinning Disk
0 = SSD

Unless you're crudely assuming sda is your boot disk, you'll need to figure that out, but that's not too hard.

--
Ian Chapman.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to