ddrescue & dd_rescue

From: http://www.forensicswiki.org/wiki/Dd_rescue

兩者是完全不同的專案,但用途目地是一致的。最大的不同在於 ddrescue 無法與管線命令串接處理它僅能處理block裝置及檔案,而 dd_rescue可以串接管線命令。

dd_rescue, is an an advanced evolution of dd, a command line program that has been ported only for UNIX/Linux. The program uses a complex series of flags to allow the user to image or write data from and to raw image files. Like dcfldd, the program makes an effort to keep the user apprised of the status of the current operation.

ddrescue and dd_rescue are completely different programs which share no development between them. The two projects are not related in any way except that they both attempt to enhance the standard dd tool and coincidentally chose similar names for their new programs.

Sample usage

Here is a common dd_rescue command:

UNIX/Linux

$ dd_rescue /dev/hda myfile.img

STDOUT

A large difference between ddrescue and dd_rescue is that dd_rescue can pipe output to STDOUT whereas ddrescue can only transfer block/file to block/file.

One example of this usage would be transfering a disk image over the network using ssh.

dd_rescue /dev/sda1 - | ssh user@remote.host "cat - > /remote/destination/file.img"

Another example would be adding compression to an image file on the fly.

dd_rescue /dev/sda1 - | bzip2 > /dir/file.img.bz2

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s