From 2f67baee4538e40959d9be1b2d5889e8882a94e1 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Tue, 11 Dec 2012 17:40:15 +0200 Subject: [PATCH] articles/cheatsheets/dd: add forgotten -v --- articles/cheatsheets/dd.html | 2 +- articles/cheatsheets/dd.html.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/cheatsheets/dd.html b/articles/cheatsheets/dd.html index 4490e6a..e18b1bc 100644 --- a/articles/cheatsheets/dd.html +++ b/articles/cheatsheets/dd.html @@ -27,7 +27,7 @@ dd if=image of=/dev/USBSTICK bs=1024;
dd if=/dev/DRIVE of=image.iso

DRIVE can be /dev/dvd /dev/cdrom or /dev/scd0 depending on the CD/DVD.

Backing up scratched CD/DVD

-
ddrescue /dev/device /where/to/create/the/file.iso /path/to/logfile.log
+
ddrescue -v /dev/device /where/to/create/the/file.iso /path/to/logfile.log

The logfile.log is used to keep track of what has been recovered. You can use same logfile for multiple clones.

Usage: You have two broken copies of same device. First you clone the other and then give same command to other, different source, but same destination and log file. If the device isn't broken on same part as the another, ddrescue will build a complete file.

I would also use ddrescue with backing up large devicces instead of dd.

diff --git a/articles/cheatsheets/dd.html.md b/articles/cheatsheets/dd.html.md index 0d89fba..7af6c1a 100644 --- a/articles/cheatsheets/dd.html.md +++ b/articles/cheatsheets/dd.html.md @@ -51,7 +51,7 @@ DRIVE can be /dev/dvd /dev/cdrom or /dev/scd0 depending on the CD/DVD. ## Backing up scratched CD/DVD ``` -ddrescue /dev/device /where/to/create/the/file.iso /path/to/logfile.log +ddrescue -v /dev/device /where/to/create/the/file.iso /path/to/logfile.log ``` The logfile.log is used to keep track of what has been recovered. You can use same logfile for multiple clones.