Hi Stef,
On Friday 01 August 2003 04:18, stefmit wrote:
[...]
> I see that everybody insists in this cp -a issue. As I said in my previous
> emails, directed to Anne only: cp is NOT the best choice of doing this. I
> had problems in the past caused by hardlinks, I think even device files
> (when cloning a whole disk), etc. If you ever decide to recopy those,
> please try:
>
> # find <directory_to_be_copied> -depth -print | cpio -adpuvm
> /mnt/your_new_disk
>
> with minor variations (pruning undesired paths, before piping to cpio, or
> removing some of those options (at a minimum -puvd, though)).
>
> NOTE: Pruning would be necessary when cloning a whole disk (replacing
> <directory_to_be_copied> with "/"), for things like /mnt, /proc, ...
I actually never had problems with "cp -a" - back at university when I had
developped one of the first unattended installation/recovery/setup systems
for the 120 Computers they had there - I hsed cpio/gzip over the net (with
rsh). So - in this regard - you are right. However - I think it is time to
have something like "clone" program for Linux - that will do it.
Anybody here having enough C-Knowledge to do that ? I bet - it shouldn be
hard at all - as all that is required to be done - is copy the content of
partition a to partition b.
James - I bet Mandrake could put this into the Sysadmin tools and offer the
possibility to add a disk and automatically replace partition /dev/hda3 with
/dev/hdb1 b.e. :) What 'daya' think ?
Cheers
Joerg
--
Computers are useless. They can only give you answers.
-- Pablo Picasso
------------------------------------------------------------------------
| Joerg Mertin : [EMAIL PROTECTED] (Home)|
| in Neuch�tel/Schweiz : [EMAIL PROTECTED] (Alt1)|
| Stardust's LiNUX System : [EMAIL PROTECTED] (Alt2)|
| Web: http://www.solsys.org: Voice & Fax: +41(0)32 / 725 52 54 |
------------------------------------------------------------------------
PGP Fingerprint: AF0F FB75 997B 025F 4538 5AD6 9888 5D97 170B 8B7A
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com