[Novalug] DD Command
jecottrell3 at comcast.net
jecottrell3 at comcast.net
Tue Jun 16 11:58:33 EDT 2009
I am totally aghast that NOBODY has mentioned tee(1).
Actually, I'm rather offended.
dd if=/some/path | tee file1 file2 > file3
Before you look at exotic solutions, LEARN THE BASICS FIRST.
Y'all have NO BUSINESS playing with RAIDs and such without a firm grasp on the FUNDAMENTALS.
Now for everyone who missed that do the following:
for dir in /sbin /usr/sbin /bin /usr/bin
do
cd $x;
man ??
man ???
man ????
done
That should get you the man pages of every 2, 3, and 4 letter command, most of which are 30 years old.
For extra credit add man ?????
JIM
----- Original Message -----
From: "Greg F" <gregfaust at gmail.com>
To: novalug at calypso.tux.org
Sent: Tuesday, June 16, 2009 7:59:25 AM GMT -05:00 US/Canada Eastern
Subject: [Novalug] DD Command
Does anyone know of a way to copy a single DD input file (disk) to multiple output files (disks) simultaneously?
I'm trying to avoid the read bottleneck by reading once and piping that to all of the writes. I have a bunch of laptops from a training lab and this will save me a huge amount of time if it can be done. I'm familiar with DD, netcat and SSH, but I only know how to pipe a single input file to a single output file.
Thanks,
Greg
_______________________________________________
Novalug mailing list
Novalug at calypso.tux.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
More information about the Novalug
mailing list