Re: file system copying nightmare

1998-02-09 Thread Joel Klecker
At 09:03 + 1998-02-08, David Maslen wrote: In the past I used a rescue disk, called I think rescue that I got from the linux archives at sunsite. It's probably a boit out of date by now. I really should learn how to make my own rescue disk, but it would be nice if there was a debian one that

Re: file system copying nightmare

1998-02-09 Thread Joost Kooij
On Sun, 8 Feb 1998, Craig Sanders wrote: On Sun, 8 Feb 1998, Hamish Moffatt wrote: I'm having a nightmare trying to copy my root file system to its new home. If I mount the original as / and the new one as /mnt, both cp -ax /* /mnt and ( cd /; tar clvf - * ) | ( cd /mnt;

file system copying nightmare

1998-02-08 Thread Hamish Moffatt
I'm having a nightmare trying to copy my root file system to its new home. If I mount the original as / and the new one as /mnt, both cp -ax /* /mnt and ( cd /; tar clvf - * ) | ( cd /mnt; tar xf - ) attempt to copy /mnt anyway, and /proc too. ie, the -x and -l switches to cp and tar

Re: file system copying nightmare

1998-02-08 Thread Hamish Moffatt
On Sat, Feb 07, 1998 at 11:57:21PM -0800, George Bonser wrote: tar is broken to stdout in bo, you need to get the tar in bo-unstable for it to work. This is on my hamm system, up to date as of about a month ago. Any ideas why that doesn't work? cp will never work ... it breaks when you get to

Re: file system copying nightmare

1998-02-08 Thread Nathan E Norman
On Sun, 8 Feb 1998, Hamish Moffatt wrote: : I'm having a nightmare trying to copy my root file system to its : new home. If I mount the original as / and the new one as /mnt, : both : : cp -ax /* /mnt : : and : : ( cd /; tar clvf - * ) | ( cd /mnt; tar xf - ) : : attempt to copy /mnt

file system copying nightmare

1998-02-08 Thread David Maslen
Hamish Moffatt writes: I would do it with the rescue disk, mounting the two partitions as /mnt and /mnt2, except that the rescue disk (poorly named?) seems to have a cut down cp with only -r, and no tar! I found the 'rescue' disk a bit lacking in this respect. Personally I would have

Re: file system copying nightmare

1998-02-08 Thread Craig Sanders
On Sun, 8 Feb 1998, Hamish Moffatt wrote: I'm having a nightmare trying to copy my root file system to its new home. If I mount the original as / and the new one as /mnt, both cp -ax /* /mnt and ( cd /; tar clvf - * ) | ( cd /mnt; tar xf - ) attempt to copy /mnt anyway, and /proc

Re: file system copying nightmare

1998-02-08 Thread Hamish Moffatt
On Sun, Feb 08, 1998 at 10:45:04PM +1100, Craig Sanders wrote: cp -ax /* /mnt ( cd /; tar clvf - * ) | ( cd /mnt; tar xf - ) that's because you're TELLING cp and tar to copy /mnt. * matches everything, remember...so cp -af /* /mnt means copy everything in / (including /mnt) to /mnt.

Re: file system copying nightmare

1998-02-08 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Hamish Moffatt [EMAIL PROTECTED] wrote: I'm having a nightmare trying to copy my root file system to its new home. If I mount the original as / and the new one as /mnt, both cp -ax /* /mnt and ( cd /; tar clvf - * ) | ( cd /mnt; tar xf - ) attempt to copy /mnt

Re: file system copying nightmare

1998-02-08 Thread Ralph Winslow
Hamish Moffatt wrote: I'm having a nightmare trying to copy my root file system to its new home. If I mount the original as / and the new one as /mnt, both cp -ax /* /mnt and ( cd /; tar clvf - * ) | ( cd /mnt; tar xf - ) attempt to copy /mnt anyway, and /proc too. ie, the -x and

Re: file system copying nightmare

1998-02-08 Thread Craig Sanders
On Sun, 8 Feb 1998, Hamish Moffatt wrote: On Sun, Feb 08, 1998 at 10:45:04PM +1100, Craig Sanders wrote: cp -ax /* /mnt ( cd /; tar clvf - * ) | ( cd /mnt; tar xf - ) that's because you're TELLING cp and tar to copy /mnt. * matches everything, remember...so cp -af /* /mnt means