On Wed, 26 Mar 2003, Froberg, David C wrote:

> Thanks, John.
>
> The --root is more to the point.  (Sorry, I should have done a man rpm
> first.)
>
> With copying with dd, would the command like something like: dd
> if=/dev/dasda1 of=/dev/dasdb1 ?

;-)
man dd
I'd add bs, but it mght not matter on your mainframe.

Actually, I think cp will work too:
cp /dev/dasda1 /dev/dasdb1
cp has an option to create sparse files - it omits big blocks of binzry
zero, and seeks past them on output.

I use the cp command to write floppy images to floppy.

Not relevant to your immediate needs, but you can
dd if= | ssh ... dd of= # to copy between systems
tar cC .. | ssh tar xpC... # ditto
cp /dev/dasda1 dirty-big-file
cp dirty-big-file /dev/dasda1

I used the dirty-big-file trick to copy a disk from one computer to another a
while ago.



--


Cheers
John.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb

Reply via email to