Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix incorrect smartctl mode for scsi drives #127

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

GunArm
Copy link
Contributor

@GunArm GunArm commented Aug 6, 2022

smartctl -A makes sense for sata drives since it gets the block of numbered attributes parse_smartctl_attributes expects. For scsi drives -A gives too little information and even excludes half of the fields parse_smartctl_scsi_attributes explicitly is trying to pull out. Passing lowercase -a fixes this

Signed-off-by: GunArm james.barrett.lewis@gmail.com

GunArm added 2 commits August 6, 2022 06:34
-A makes sense for sata drives since it gets the block of numbered attributes parse_smartctl_attributes expects.  For scsi drives -A gives too little information and even excludes half of the fields parse_smartctl_scsi_attributes explicitly is trying to pull out.  Passing lowercase -a fixes this

Signed-off-by: GunArm <james.barrett.lewis@gmail.com>
Signed-off-by: GunArm <james.barrett.lewis@gmail.com>
@RichiH RichiH requested a review from SuperQ August 11, 2022 10:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant