{"id":8199,"date":"2020-07-18T21:02:42","date_gmt":"2020-07-18T13:02:42","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8199"},"modified":"2020-07-18T21:02:43","modified_gmt":"2020-07-18T13:02:43","slug":"cdrdao","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/cdrdao","title":{"rendered":"cdrdao\u547d\u4ee4 – \u523b\u5f55\u5f71\u50cf\u5230\u5149\u76d8"},"content":{"rendered":"\n

cdrdao\u547d\u4ee4\u7528\u6765\u523b\u5f55\u5f71\u50cf\u5230\u5149\u76d8\u3002\u7528\u6765\u5411\u60a8\u7684 CD-R\u6216CD-RW\u5199\u6570\u636e\u3002<\/p>\n\n\n\n

\u9700\u8981\u6709\u652f\u6301SCSI\u548c”generic”SCSI\u7684Linux\u6838\u5fc3\uff0c\u4e0d\u7528\u62c5\u5fc3\u60a8\u7684CD-R\u6216CD-RW\u662fATAPI\/IDE\u63a5\u53e3\uff0c\u53ea\u8981\u628a SCSI emulation(SCSI\u4eff\u771f)\u7f16\u8bd1\u8fdb\u60a8\u7684Linux\u5373\u53ef\u3002\u5982\u679c\u60a8\u624b\u4e2d\u7684Linux\u662f\u4e00\u4e2a\u6b63\u5f0f\u53d1\u884c\u7684Distributed\u7248\u672c\uff0c\u5982 \u84dd\u70b9(BluePoint)\u3001\u7ea2\u65d7(Red-Flag)\u7b49\uff0c\u90a3\u4e48\u60a8\u5c31\u53ef\u4ee5\u8df3\u8fc7\u7f16\u8bd1\u6838\u5fc3\u8fd9\u4e00\u6b65\u3002<\/p>\n\n\n\n

\u542f\u52a8Linux\uff0c\u542f\u52a8\u65f6\u4ecd\u7136\u9700\u8981\u52a0\u5165”\/dev\/node=ide-scsi”\u53c2\u6570\uff0c\u8fd9\u662fATAPI\/IDE\u63a5\u53e3\u7684CD-R\u6216CD-RW\u6253\u5f00SCSI\u4eff\u771f\u6a21 \u5f0f\u6240\u5fc5\u987b\u7684\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>cdrdao [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

\u2013scanbus<\/td>\u626b\u63cf\u5149\u9a71\u6302\u5728\u54ea\u4e2a\u8bbe\u5907\u4e0a\u9762<\/td><\/tr>
\u2013write <\/td>\u5199\u5165<\/td><\/tr>
--device<\/td>\u5149\u9a71\u4f4d\u7f6e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u626b\u63cf\u5149\u9a71\u6302\u5728\u54ea\u4e2a\u8bbe\u5907\u4e0a\u9762\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# cdrdao scanbus<\/pre>\n\n\n\n

\u628abin\u6587\u4ef6\u5199\u5165\u5149\u76d8\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# cdrdao write --device ATA:1,1,0 vcd.toc<\/pre>\n\n\n\n

\u5c06CD\u590d\u5236\u5230\u786c\u76d8\u4e2d\u4ee5data.bin\u6587\u4ef6\u5b58\u653e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# cdrdao read -cd --device ATA:1,1,0 --buffers 64 --driver generic-mmc-raw --read-raw vcd.toc<\/pre>\n\n\n\n

\u4e3aCD\u521b\u5efa\u4e00\u4e2a\u6307\u5b9a\u7684\u5185\u5bb9\u76ee\u5f55\u8868\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# cdrdao read -toc --device ATA:1,1,0 --buffers 64 --driver generic-mmc-raw --read-raw vcd.toc<\/pre>\n","protected":false},"excerpt":{"rendered":"

cdrdao\u547d\u4ee4\u7528\u6765\u523b\u5f55\u5f71\u50cf\u5230\u5149\u76d8\u3002\u7528\u6765\u5411\u60a8\u7684 CD-R\u6216CD-RW\u5199\u6570\u636e\u3002 \u9700\u8981\u6709\u652f\u6301SCSI\u548c&#8221 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8199"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8199"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8199\/revisions"}],"predecessor-version":[{"id":8371,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8199\/revisions\/8371"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}