Gentoo Archives: gentoo-user

From: Francesco Talamona <francesco.talamona@××××.eu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: world symlinking
Date: Tue, 02 Nov 2010 22:22:01
Message-Id: 201011022321.32051.francesco.talamona@know.eu
In Reply to: [gentoo-user] world symlinking by Gary Golden
1 On Tuesday 02 November 2010, Gary Golden wrote:
2 > Hi, list.
3 > I keep changes of my /etc with git and I would like to include
4 > /var/lib/portage/world file into the repository.
5 >
6 > Can I safely do:
7 >
8 > mv /var/lib/portage/world /etc/portage
9 > ln -s /etc/portage /var/lib/portage/world
10 >
11 > Will portage update handle it properly?
12 > Using hardlinks seems to be more cleaner way, but for some reason I
13 > don't want to use it for this task.
14 >
15 > Have a nice day! ;)
16
17 Actually it's much easier, I have two machines, both with /etc/world.
18 And it's a exact copy of /var/lib/portage/world, something in my
19 computers is doing this, and it isn't a (soft|hard)link :)
20
21 sys-apps/portage-2.2_rc67
22
23 HTH
24 Francesco
25
26 --
27 Linux Version 2.6.35-gentoo-r11, Compiled #1 SMP PREEMPT Fri Oct 29
28 20:33:46 CEST 2010
29 Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.86 Bogomips Total
30 aemaeth

Replies

Subject Author
Re: [gentoo-user] Re: world symlinking Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Re: world symlinking Kevin O'Gorman <kogorman@×××××.com>