dd . one device to another

commandline session

$ 4.2.20 2 84---> dd if=/dev/pts of=stdout
dd: reading `/dev/pts': Is a directory
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.001431 s, 0.0 kB/s
$ 4.2.20 3 85---> dd if=/dev/sda
sda   sda1  sda2  sda5
$ 4.2.20 3 85---> dd if=/dev/sda1 of=/dev/sda
sda   sda1  sda2  sda5
$ 4.2.20 3 85---> dd if=/dev/sda1 of=/dev/sda
sda   sda1  sda2  sda5
$ 4.2.20 3 85---> dd if=/dev/sda1 of=/dev/sdb
dd: opening `/dev/sda1': Permission denied
$ 4.2.20 4 86---> sudo dd if=/dev/sda1 of=/dev/sdb
[sudo] password for jeffrin:
^C1416945+0 records in
1416944+0 records out
725475328 bytes (725 MB) copied, 18.526 s, 39.2 MB/s
$ 4.2.20 5 87--->

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

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

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

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

Facebook photo

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

Connecting to %s