From: Benno Schulenberg <benno.schulenberg@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Moving linux system to another partition
Date: Fri, 08 Jun 2007 20:09:17 +0200 [thread overview]
Message-ID: <200706082009.17421.benno.schulenberg@gmail.com> (raw)
In-Reply-To: <200706081301.17615.faccenda@gmx.net>
Mauro Faccenda wrote:
> On Friday 08 June 2007 12:54, Albert Hopkins wrote:
> > On Fri, 2007-06-08 at 18:05 +0300, Aleksey Kunitskiy wrote:
> > > Is it safe to move my linux system by using:
> > > #>cp -rp /mnt/old_part /mnt/new_part
> >
> > 'cp -a' (or better rsync -a) is probably better than 'cp -rp'
> > for that purpose. But what I usually do is 'tar -c ... | tar
> > -x ...'.
>
> if you do tar in this way, is better to use
> "tar -pc ... | tar -px ..."
The -p option only does something when extracting an archive, so
that first -p is pointless. Better use 'tar' instead of 'cp -a',
though, as it's much faster when copying many little files.
cd /sourcedir && tar -cf - . | (cd /destdir; tar -xpvf -)
Benno
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-06-08 18:17 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-08 15:05 [gentoo-user] Moving linux system to another partition Aleksey Kunitskiy
2007-06-08 15:18 ` Hemmann, Volker Armin
2007-06-08 15:48 ` Alan McKinnon
2007-06-08 15:59 ` Albert Hopkins
2007-06-08 16:21 ` Aleksey Kunitskiy
2007-06-08 16:43 ` Tim Allingham
2007-06-08 18:52 ` Hans-Werner Hilse
2007-06-09 18:25 ` Tim Allingham
2007-06-11 7:24 ` Mick
2007-06-11 8:58 ` Hans-Werner Hilse
2007-06-11 15:18 ` Randy Barlow
2007-06-11 14:54 ` Alan McKinnon
2007-06-11 15:00 ` Hans-Werner Hilse
2007-06-08 22:38 ` Dale
[not found] ` <200706081839.07324.alexey.kv@gmail.com>
2007-06-08 15:59 ` Mauro Faccenda
2007-06-08 15:54 ` Albert Hopkins
2007-06-08 16:01 ` Mauro Faccenda
2007-06-08 18:09 ` Benno Schulenberg [this message]
2007-06-08 16:25 ` [gentoo-user] " Remy Blank
2007-06-09 8:45 ` [gentoo-user] " Vladimir Rusinov
-- strict thread matches above, loose matches on Subject: below --
2007-06-08 16:40 burlingk
2007-06-08 16:52 burlingk
2007-06-09 0:01 jamesc
2007-06-09 0:25 ` Albert Hopkins
2007-06-09 8:14 ` Florian Philipp
2007-06-09 0:18 jamesc
2007-06-09 0:43 jamesc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200706082009.17421.benno.schulenberg@gmail.com \
--to=benno.schulenberg@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox