8000 FeatureRequest: Add STDIN support for other "-d" than ATA disks · Issue #341 · smartmontools/smartmontools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

FeatureRequest: Add STDIN support for other "-d" than ATA disks #341

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

Open
lars18th opened this issue May 8, 2025 · 2 comments
Open

Comments

@lars18th
Copy link
lars18th commented May 8, 2025

Hi,

The current implementation of "-" input (STDIN) only supports ATA disks.
So we can use smartctl -a -r ataioctl,2 -d sat /dev/sda | smartctl -a -.
And this is useful for testing.

However, this could be used for different purposes: for example, to get the data from the disk using different tools.
In this case something like 3rd-party-scan-tool ... | re-format-tool | smartctl -a - makes sense.

But the problem really is that only ATA disks have this support. You can use -r ataioctl,2 but not -r scsiioctl,2 or -r ioctl,2.
The request is to enhance support for the PIPE input to SCSI disks.
And please note that the actual manual page states: This is does not work for SCSI devices **yet**.

I hope you want to add this support.
Thank you.

@chrfranke
Copy link
chrfranke commented May 14, 2025

Will possibly be addressed after we moved the project from SourceForge svn to GitHub and later rework of ATA debug output.

@lars18th
Copy link
Author

Will possibly be addressed after we moved the project from SourceForge svn to GitHub and later rework of ATA debug output.

Nice! With a move from SF to GitHub it will be more easy to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0