From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: Moving partitions...
Date: Mon, 22 Jun 1998 07:50:30 -0400 [thread overview]
Message-ID: <19980622075030.J799@xcski.com> (raw)
In-Reply-To: <Pine.LNX.3.96.980722004400.858A-100000@alpha.home.null>; from Keith Baker on Wed, Jul 22, 1998 at 12:45:23AM -0400
Quoting Keith Baker (toaster@cybercom.net):
> How can I safely copy my root partition to another drive... last time it
> was on my intel and I used a bit-bit disk copy... What can I do with
> axp linux...
I've always been a big fan of using tar for this, but I see from the other
messages in this thread that there are "new"[1] arguments to "cp" that do
similar things. Anyways, the command that worked on Jurassic Unix, and which
still works now, is (starting from where you want to copy it from)
tar cvf - . | (cd /foo/bar; tar xvPf -)
You can also do this from one machine to another if they're set up to allow
rsh between them:
tar cvf - . | rsh foohost "cd /foo/bar; tar xvPf -"
But because this is Unix, and that means there are always a million different
ways of doing anything, I expect some equally old-timer to now chime in and
tell you how to do it using cpio or dd.
[1] Where "new" in this context means "added to Unix some time in the last 10
years since I've stopped having to read the manual to know how to do cp, and
so missed anything new added"
--
Paul Tomblin, ptomblin@xcski.com.
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners" - Ernst Jan Plugge
next prev parent reply other threads:[~1998-06-22 11:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-22 4:45 Moving partitions Keith Baker
1998-06-22 9:57 ` Stefan Schroepfer
1998-06-22 10:18 ` Martin Høy
1998-06-22 11:50 ` Paul Tomblin [this message]
1998-06-22 12:08 ` Soon to be Alpha Newbie Thomas Hartley
1998-06-22 12:18 ` Bart-Jan Vrielink
1998-06-22 12:35 ` Scott Serr
1998-06-22 12:48 ` Joakim Roubert
1998-06-22 12:46 ` Armin Ollig
1998-06-22 12:50 ` William Beegle
1998-06-22 13:12 ` Martin Høy
1998-06-22 19:19 ` Christopher Curtis
1998-06-22 20:43 ` William Bradford
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