Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: Francesco Talamona <francesco.talamona@××××.eu>
Subject: Re: [gentoo-user] Re: world symlinking
Date: Wed, 03 Nov 2010 01:06:51
Message-Id: 201011030306.32169.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Re: world symlinking by Francesco Talamona
1 Apparently, though unproven, at 00:21 on Wednesday 03 November 2010, Francesco
2 Talamona did opine thusly:
3
4 > On Tuesday 02 November 2010, Gary Golden wrote:
5 > > Hi, list.
6 > > I keep changes of my /etc with git and I would like to include
7 > > /var/lib/portage/world file into the repository.
8 > >
9 > > Can I safely do:
10 > >
11 > > mv /var/lib/portage/world /etc/portage
12 > > ln -s /etc/portage /var/lib/portage/world
13 > >
14 > > Will portage update handle it properly?
15 > > Using hardlinks seems to be more cleaner way, but for some reason I
16 > > don't want to use it for this task.
17 > >
18 > > Have a nice day! ;)
19 >
20 > Actually it's much easier, I have two machines, both with /etc/world.
21 > And it's a exact copy of /var/lib/portage/world, something in my
22 > computers is doing this, and it isn't a (soft|hard)link :)
23 >
24 > sys-apps/portage-2.2_rc67
25
26
27 You have a funky cron somewhere? Are time stamps the same?
28
29 I don't have such a thing:
30
31 $ emerge -V
32 Portage 2.2.0_alpha3 (default/linux/amd64/10.0/desktop, gcc-4.4.5,
33 glibc-2.11.2-r3, 2.6.36-ck x86_64)
34
35 $ ls -al /etc/world
36 ls: cannot access /etc/world: No such file or directory
37
38 --
39 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Re: world symlinking Dale <rdalek1967@×××××.com>