加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows – 从光学介质中恢复,忽略读取错误

发布时间:2020-12-14 02:50:43 所属栏目:Windows 来源:网络整理
导读:我备份了以光学媒体(CD和DVD)存档的文件.这些都有par2恢复文件,存储在不同的媒体上.即使在没有par2文件的情况下,在一个光驱上读取时的轻微错误也可以在另一个驱动器上正常读取. 问题是,当读取错误的媒体时,读取时间非常长,因为设备往往会多次重试. 问题是:
我备份了以光学媒体(CD和DVD)存档的文件.这些都有par2恢复文件,存储在不同的媒体上.即使在没有par2文件的情况下,在一个光驱上读取时的轻微错误也可以在另一个驱动器上正常读取.

问题是,当读取错误的媒体时,读取时间非常长,因为设备往往会多次重试.

问题是:我如何控制重试次数(即设置为不重试或只尝试一次)?一些系统调用?我可以下载的库吗?我是否必须处理SCSI层?

问题主要是关于Linux,但任何Win32指针都会受到欢迎.

解决方法

man readom,cdrecord附带的程序:

-noerror
          Do not abort if the high level error checking in readom found an
          uncorrectable error in the data stream.

   -nocorr
          Switch  the  drive  into  a mode where it ignores read errors in
          data sectors that are a result of uncorrectable  ECC/EDC  errors
          before reading.  If readom completes,the error recovery mode of
          the drive is switched back to the remembered old mode.
   ...

   retries=#
          Set the retry count for high level retries in readom to #.   The
          default  is  to do 128 retries which may be too much if you like
          to read a CD with many unreadable sectors.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读