udisks icon indicating copy to clipboard operation
udisks copied to clipboard

[WIP] udiskslinuxdriveata: Port to libblockdev SMART plugin

Open tbzatek opened this issue 2 years ago • 0 comments

Completely untested, first draft that I'm completely not confident with. Lots of open questions regarding loosely-defined smartctl JSON output as well as loosely defined drivedb attribute names. Might be easier to implement compat drivedb parser for libatasmart perhaps?

Needs https://github.com/storaged-project/libblockdev/pull/835

TODO:

  • [x] blob emulation - deprecate, accept JSON or even implement a custom reader?
  • [x] move some stuff back to libblockdev?
  • [ ] write some tests
  • [ ] test it!

tbzatek avatar Sep 04 '23 16:09 tbzatek