Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hey, I am a linux newbie.
Been working with it for the past 2months now and i must say i love every thing new i learned about it about the OS itself and its functionality.
My question is about using the dd command (short for Disk Druid)
i like to call it.. dunkin donuts... cuz you can take a donunt from the source(if) and dunk it to its destination(of).. lol.. i know its a corney lil joke but.. whatever rocks my boat
CAN YOU USING dd TO BRUN TO MORE THAN ONE LOCATION AT THE SAME TIME?
SENARIO/EXAMPLE ((CAN THIS BE DONE))
time dd if=/mnt/sda of=/dev/sdb
which works fine....
now what about?
a. time dd if=/mnt/sda of=/dev/sdb of=/dev/sdc
b. time dd if=/mnt/sda of=/dev/sdb & of=/dev/sdc
c. time dd if=/mnt/sda of=/dev/sdb && of=/dev/sdc
d. time dd if=/mnt/sda of=/dev/sdb | /dev/sdc
e. time dd if=/mnt/sda of=/dev/sdb || /dev/sdc
f. time dd if=/mnt/sda of=/dev/sdb | of=/dev/sdc
g. time dd if=/mnt/sda of=/dev/sdb || of=/dev/sdc
remember i want to make a copy of one image or drive.. to 2 others AT THE SAME TIME!
PLLLLLEEEEEEEEEEEASE TELL ME THIS IS POSSIBLE. AND CAN BE DONE!!
If you are talking about partitions then raid is probably the best way to go.
If you want to do it with files you can link them (I just tested to be sure):
rossy - trigger - Thu Oct 28 23:13:35
~> vi testing
rossy - trigger - Thu Oct 28 23:14:14
~> touch testing1
rossy - trigger - Thu Oct 28 23:14:16
~> ln testing1 testing2
rossy - trigger - Thu Oct 28 23:14:19
~> dd if=testing of=testing1
0+1 records in
0+1 records out
rossy - trigger - Thu Oct 28 23:14:23
~> ll testing*
-rw-r--r-- 1 rossy users 5 Oct 28 23:13 testing
-rw-r--r-- 2 rossy users 5 Oct 28 23:14 testing1
-rw-r--r-- 2 rossy users 5 Oct 28 23:14 testing2