Skip to content

Check readability of the media inserted in a physical device

Natalia Portillo edited this page Jun 24, 2018 · 3 revisions

Table of Contents

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

DiscImageChef media-scan -b [ibglog] -d [true/false] -i <device> -m [mhddlog] -v [true/false]

-b, --ibg-log=[ibglog] writes a log in the format used by ImgBurn
-d, --debug=[true/false] shows debug output (default false)
-i, --input=<dump> path to the physical device
-m, --mhdd-log=[mhddlog] writes a log in the format used by MHDD
-v, --verbose=[true/false] shows verbose output (default false)

Example

FreeBSD: DiscImageChef media-scan -i /dev/cd0
Linux: DiscImageChef media-scan -i /dev/sdb
Windows: DiscImageChef media-scan -i \\.\PhysicalDrive3

Operating system support

Device type FreeBSD macOS Linux Windows
SCSI Block device Yes No [1] Yes Yes
SCSI MultiMedia device Yes Not yet [2] Yes Yes
SCSI Streaming device Yes No [1] Yes Yes
Parallel ATA No [3] No [1] Yes Yes
Serial ATA Yes No [1] Yes Yes
USB Partial [4] Partial [5] Yes Yes
FireWire Partial [6] Partial [5] Yes Partial [6]
PCMCIA Partial [7] Partial [5] Yes Partial [7]
SecureDigital / MultiMediaCard Not yet [8] No [1] Yes Untested [9]
  1. a b c d e macOS only allows talking with MultiMedia devices
  2. ^ Support for MultiMedia devices in macOS will be added if users require it
  3. ^ Not supported due to upstream bug
  4. ^ USB descriptors are not retrieved
  5. a b c Only MultiMedia devices can be supported and descriptors will not be retrieved
  6. a b FireWire descriptors are not retrieved
  7. a b PCMCIA CIS is not retrieved
  8. ^ Support will come with FreeBSD 12-RELEASE
  9. ^ Should work, untested due to not available hardware
Clone this wiki locally