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 - *

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 tha

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 /*

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,

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

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 /

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, an

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 anyway,

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