From: Chris Riehl <Moron@pei.sympatico.ca>
Subject: take me off list please
Date: Sat, 25 Oct 1997 17:44:58 -0300 [thread overview]
Message-ID: <10826905ce4e3a6614490985367c9efb.axp-list@archive.invalid> (raw)
Michal Jaegermann wrote:
> John Ross Hunt wrote:
> >
> > Here's an easier way.
> ...
> > find / -depth -xdev -print | cpio -padvVmB /mnt/disk2
>
> With this caveat the the above will not work if your current
> installation is using more than one partition (it can be fixed).
> '-xdev' is a stumbling block and you **really** do not want
> to skip it.
>
> Otherwise the line above has one advantage over 'cp -a' - you do
> not have to worry about creating 'proc' on your target directory.
> Easier? I will not argue as this is a matter of taste. :-)
> But the line above is practically equivalent to 'cp -ax / /mnt/disk2'
> and the same limitations do apply. I did not want to complicate
> matters. :-) More "trouble" if your target disk has multiple
> partitions and their numbers on both disks are not necessarily the same.
>
> John is right that on a Unix installation with a less capable 'cp' one
> has to do something like the above. For example (root partition only):
> tar -clf - / | (cd /mnt/disk2 ; tar -xpf - )
> which can be a bit simpler and safer with GNU tar. Depending on what you
> have on hands there are few other similar methods. Take your pick. :-)
>
> Summary: a totally "fool-proof and easy" method of cloning your whole
> installation on another disk does not exist. You will have to think
> a bit about what you are doing and with what.
>
> Michal
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-10-25 20:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-25 20:44 Chris Riehl [this message]
[not found] <34525A67.1D59F5B6@pei.sympatico.ca>
1997-10-26 4:44 ` take me off list please Martin Radford
-- strict thread matches above, loose matches on Subject: below --
1997-10-25 20:45 Chris Riehl
1997-10-25 20:44 Chris Riehl
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox