Gentoo Archives: gentoo-user

From: Etaoin Shrdlu <shrdlu@×××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to tar?
Date: Thu, 23 Mar 2006 17:21:59
Message-Id: 200603231832.59455.shrdlu@unlimitedmail.org
In Reply to: [gentoo-user] How to tar? by Michael Kintzios
1 On Thursday 23 March 2006 17:46, Michael Kintzios wrote:
2
3 > I think I need to go back to basics here to get out of a hole:
4 >
5 > I have move my /usr onto a different machine as part of a migration
6 > exercise, but the partition in question will barely contain it. Is
7 > there a way of running tar so that:
8 >
9 > 1. Only part of /usr is untarred in a different partition (all of
10 > /usr/*, except /usr/portage which I want to eventually untar it and
11 > keep it in there).
12 > 2. Those directories which are untarred are also removed from the .tgz
13 > file so that there is enough space left behind to untar the
14 > /usr/portage directory.
15 > 3. Finally, /usr/portage is now untarred into the said partition and
16 > the tgz file is deleted thereafter.
17
18 What about doing two separate tar files, one for /usr/portage and the
19 other for the rest of /usr? Then untar each tar file into the
20 appropriate partition.
21 --
22 gentoo-user@g.o mailing list

Replies

Subject Author
RE: [gentoo-user] How to tar? Michael Kintzios <michaelkintzios@××××××××.uk>