Bug 24772 — Allow simulated SMART data on non-SMART devices
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 28 Oct 2009 10:57:46 +0000 (11:57 +0100)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 1 Dec 2009 22:07:20 +0000 (17:07 -0500)
commit4e322a621814db6eb003f42fbdf79ca6f312a4ee
tree24e9566e559e8622b3d248ce14c8c4f67ce7c17a
parent323d03d0376d80b8e1238eba4673dd5873196d41
Bug 24772 — Allow simulated SMART data on non-SMART devices

DriveAtaSmartRefreshData(): Defer the "device supports SMART" test until after
evaluating the "simulate" option, and set DriveAtaSmartIsAvailable property
when simulate is given. With this, SMART data blobs can be used with non-SMART
or virtual devices, too.

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/device.c