Skip to content
New issue

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

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

Already on GitHub? Sign in 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 [email protected]

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 <[email protected]>
@RichiH RichiH requested a review from SuperQ August 11, 2022 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant