[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: file system copying nightmare



tar is broken to stdout in bo, you need to get the tar in bo-unstable for
it to work.

cp will never work ... it breaks when you get to /dev ;)

also, have a look at dump and restore.


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 too. ie, the -x and -l switches
> to cp and tar respectively appear to be ignored.
> 
> 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!
> 
> Any suggestions?
> 
> 
> thanks,
> Hamish
> -- 
> Hamish Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
> Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
> CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org . 
> Trouble?  e-mail to templin@bucknell.edu .
> 
> 
> 

George Bonser 
If NT is the answer, you didn't understand the question. (NOTE: Stolen sig)
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: