Files
Aaru.Documentation/5.3/Check-readability-of-the-media-inserted-in-a-physical-device.md
2021-08-18 04:24:58 +01:00

2.5 KiB

==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== Aaru media-scan -b [ibglog] -d [true/false] -i -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= 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: Aaru media-scan -i /dev/cd0
Linux: Aaru media-scan -i /dev/sdb
Windows: Aaru media-scan -i \.\PhysicalDrive3

==Operating system support== {| ! Device type ! FreeBSD ! macOS ! Linux ! Windows |- | SCSI Block device | Yes | No macOS only allows talking with MultiMedia devices | Yes | Yes |- | SCSI MultiMedia device | Yes | Not yet Support for MultiMedia devices in macOS will be added if users require it | Yes | Yes |- | SCSI Streaming device | Yes | No | Yes | Yes |- | Parallel ATA | No Not supported due to upstream bug | No | Yes | Yes |- | Serial ATA | Yes | No | Yes | Yes |- | USB | Partial USB descriptors are not retrieved | Partial Only MultiMedia devices can be supported and descriptors will not be retrieved | Yes | Yes |- | FireWire | Partial FireWire descriptors are not retrieved | Partial | Yes | Partial FireWire descriptors are not retrieved |- | PCMCIA | Partial PCMCIA CIS is not retrieved | Partial | Yes | Partial PCMCIA CIS is not retrieved |- | SecureDigital / MultiMediaCard | Not yet Support will come with FreeBSD 12-RELEASE | No | Yes | Untested Should work, untested due to not available hardware |}