storaged-project / libblockdev

A library for manipulating block devices.
GNU Lesser General Public License v2.1
108 stars 56 forks source link

smart: Clarify use of ID_ATA_SMART_ACCESS udev property #1063

Closed tbzatek closed 2 months ago

tbzatek commented 2 months ago

Surprising discovery by reading libatasmart sources. Haven't found any other public mention and found this quite useful.

tbzatek commented 2 months ago

I'm still unsure how to take on this in UDisks. Would be nice to respect the udev property as an override for smartmontools as well, though there might be situations where smartctl's autodetection might be smarter.