You can detect the disk type from the following file:

/sys/block/sda/queue/rotational

Just cat it. 1 means it's rotational, 0 means it is an SSD. Just change
sda to be the disk you want to inspect. You will also need root
privileges to view the file.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/864051

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to