Files
Aaru.Documentation/Check-readability-of-the-media-inserted-in-a-physical-device.mediawiki

76 lines
2.2 KiB
Plaintext
Raw Normal View History

==Command description==
This operation will read the media inserted in the physical device, and measure how fast it can be read sequentially. It's not intended as a benchmark, but as a detector of damaged sectors, sectors that are losing readability, etc. When finished it will check how fast can the device seek, and report speed statistics.
==Command usage==
<code>DiscImageChef media-scan -i <device> -v [true/false] -d [true/false] -m [mhddlog] -b [ibglog]</code>
<code>-i, --input=<dump></code> path to the physical device<br />
<code>-v, --verbose=[true/false]</code> shows verbose output ''(default false)''<br />
<code>-d, --debug=[true/false]</code> shows debug output ''(default false)''<br />
<code>-m, --mhdd-log=[mhddlog]</code> writes a log in the format used by MHDD<br />
<code>-b, --ibg-log=[ibglog]</code> writes a log in the format used by ImgBurn<br />
==Example==
FreeBSD: <code>DiscImageChef media-scan -i /dev/cd0</code><br />
Linux: <code>DiscImageChef media-scan -i /dev/sdb</code><br />
Windows: <code>DiscImageChef media-scan -i \\.\PhysicalDrive3</code><br />
==Operating system support==
{|
! OS
! SCSI Block device
! SCSI MultiMedia device
! SCSI Streaming device
! Parallel ATA
! Serial ATA
! USB
! FireWire
! PCMCIA
! SecureDigital / MultiMediaCard
|-
| FreeBSD
| Yes
| Yes
| Yes
| No <ref name="FreeBSD bug">Not supported due to upstream bug</ref>
| Yes
| Yes
| Yes
| Yes
| Not yet <ref name="FreeBSD sd">Support will come with FreeBSD 12-RELEASE</ref>
|-
| macOS
| No <ref name="macOS permissions">macOS only allows talking with MultiMedia devices</ref>
| Not yet <ref name="macOS users">Support for MultiMedia devices in macOS will be added if users require it</ref>
| No <ref name="macOS permissions"/>
| No <ref name="macOS permissions"/>
| No <ref name="macOS permissions"/>
| Partial <ref name="macOS">Only MultiMedia devices can be supported and descriptors will not be retrieved</ref>
| Partial <ref name="macOS"/>
| Partial <ref name="macOS"/>
| No <ref name="macOS permissions"/>
|-
| Linux
| Yes
| Yes
| Yes
| Yes
| Yes
| Yes
| Yes
| Yes
| Yes
|-
| Windows
| Yes
| Yes
| Yes
| Yes
| Yes
| Yes
| Yes
| Yes
| Untested <ref name="Windows sd">Should work, untested due to not available hardware</ref>
|}
<references/>