Mailinglist Archive: opensuse (2407 mails)

< Previous Next >
Re: [SLE] copying entire filesystems
  • From: linux@xxxxxxxxx (Linux News User)
  • Date: Tue, 22 Aug 2000 18:26:45 -0600
  • Message-id: <4.3.2.7.2.20000822182525.00c3b5d8@xxxxxxxxxxxxxx>



Hi !

Try using the dd comand the sintax is

dd if=[input partition] of=[output partition]

with the DD you could copy an entire partition, and use the mkswap and
swapon to recreate and enable the swap partitions

>Hi,
>I am setting up a raid array using the Software-RAID-HOWTO.
>
>In the section "Root Filesystem on RAID" he explains how to copy
>a working filesystem to a new raid array.
>The commands are:
>
>cd /
>find . -xdev | cpio -pm /mnt/newroot
>
>What is going on in that command?
>
>Does anyone else have a favorite command to do this function,
>which may be easier to remember? Why didn't he use dd?
>
>Thanks for any insight.
>
>--
>To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
>For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
>Also check the FAQ at http://www.suse.com/support/faq


--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/support/faq


< Previous Next >
References