Computer Magic
Software Design Just For You

Drive clone in Linux with dd

Simple way to clone drives in Linux.

Assume drive sda is the source, and sdb is the destination.

dd if=/dev/sda of=/dev/sdb & PID=$!; which kill -USR1 $PID;

& runs dd in the background.
PID=$! gets the last process id (of the dd command)
Which runs the command every second or two.
Kill -USR1 tells dd to print its progress.

Comments are closed.

Home | My Blog | Products | Edumed | About Us | Portfolio | Services | Location | Contact Us | Embedded Python | College Courses | Quick Scan | Web Spy | EZ Auction | Web Hosting
This page has been viewed 842993 times.

Copyright © 2005 Computer Magic And Software Design
(360) 417-6844
computer magic