FeatureRequest: Add STDIN support for other "-d" than ATA disks · Issue #341 · smartmontools/smartmontools · GitHub
More Web Proxy on the site http://driver.im/
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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: