Gentoo Archives: gentoo-user

From: Michael Kintzios <michaelkintzios@××××××××.uk>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] How to tar?
Date: Fri, 24 Mar 2006 12:05:23
Message-Id: E409A0EB8A569347802C508C49C1343907309B@BCV0X134EXC0003
In Reply to: Re: [gentoo-user] How to tar? by Benno Schulenberg
1 Thank you All for your replies.
2
3 > -----Original Message-----
4 > From: Benno Schulenberg [mailto:benno.schulenberg@×××××.com]
5 > Sent: 23 March 2006 23:42
6 > To: gentoo-user@l.g.o
7 > Subject: Re: [gentoo-user] How to tar?
8 >
9 >
10 > Michael Kintzios wrote:
11 > > As things currently are gentoo_usr.tgz is in /dev/hda2,
12 > > which is destined to house the /usr/portage directory. /dev/hda2
13 > > is a 4.0G partition with only 74M available.
14 >
15 > How big is gentoo_usr.tgz? What's the rest on /dev/hda2?
16
17 gentoo_usr.tgz is 3.9G+ and there's nothing else left in /dev/hda2.
18
19 > > /dev/hda3 will have the rest of the filesystem
20 > > (and the remaining /usr directory).
21 >
22 > What's on /dev/hda3 now? How big is it? What's on /dev/hda1?
23 > Can't you move the gentoo_usr.tgz to another roomier partition?
24
25 There's no other roomier partition which will contain gentoo_usr.tgz as
26 a single file.
27
28 > If I get it right, /dev/hda3 is destined to become your /,
29 > and /dev/hda2 your /usr/portage. Have you already upacked the rest
30 > of / on /dev/hda3? How about retarring it and untarring it after
31 > gentoo_usr.tgz?
32
33 I'll have a look at doing something like that, although I will not be
34 able to untar gentoo_usr.tgz into another partition (at 6.4G untarred
35 there's just not enough space).
36
37 > > what I think is needed
38 > > here is untarring of the archive, while untarred data is
39 > > dynamically deleted immediately after untarred to make space for
40 > > more data to be untarred . . . do I make sense?
41 >
42 > Yes, but GNU tar cannot do that, it can only do one command at a
43 > time, either --extract or --delete or ...
44
45 Yes, that's why I was hoping that some clever bash-ery may be able to
46 pipe the lot together.
47
48 As I have no access to another machine or network until I get back home,
49 the helpful link provided may have to wait. Of course once I get back
50 home I can only tar the directories I need, one at a time.
51
52 Thanks again for your replies.
53 --
54 Regards,
55 Mick
56
57
58 --
59 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to tar? "Boyd Stephen Smith Jr." <bss03@××××××××××.net>