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

Allow for setting of smartctl device type #17

Open
andrewvaughan opened this issue Mar 21, 2024 · 0 comments
Open

Allow for setting of smartctl device type #17

andrewvaughan opened this issue Mar 21, 2024 · 0 comments

Comments

@andrewvaughan
Copy link

I usually test my drives via a USB SATA adapter before going through the hassle of taking my drive bays out. To do this, I have to use the -d sat argument with smartctl.

It would be useful to have an option to launch bht with the ability to pass configurations through to smartctl so that I can do this (for now, I literally just added -d sat anywhere smartctl was called in the script).

An option might be like:

bht --smartctl-params "-d sat" /dev/sdg

That way, you can allow the end-user to configure smartctl however they need... and should generally be a pretty quick fix to add in a variable for each of the smartctl calls in the script (set to blank, by default).

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

No branches or pull requests

1 participant