You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the current UDisks2 query implementation allows to query the disk temperature without installing hddtemp it returns only the Model name of the installed drive. This makes it hard to identify a drive when using multiple drives of the same model in a setup.
On first look is seems like UDisks2 doesn't expose a human readable identifier for drives, but for block devices exposed as HintName and set with UDISKS_NAME in the udev scripts or even an config file(?).
To fix this the implementation needs to:
query all block devices
iterate the block devices
filter out block devices that aren't backed by a drive (file loopback, aliases)
query the drive to read temperature data
Check if the HintName is set for the block device and use this as display label or use the device file as fallback.
The text was updated successfully, but these errors were encountered:
While the current UDisks2 query implementation allows to query the disk temperature without installing hddtemp it returns only the Model name of the installed drive. This makes it hard to identify a drive when using multiple drives of the same model in a setup.
On first look is seems like UDisks2 doesn't expose a human readable identifier for drives, but for block devices exposed as HintName and set with UDISKS_NAME in the udev scripts or even an config file(?).
To fix this the implementation needs to:
The text was updated successfully, but these errors were encountered: