From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-116143-garchives=archives.gentoo.org@lists.gentoo.org>) id 1PDAzg-0005GL-DN for garchives@archives.gentoo.org; Tue, 02 Nov 2010 07:09:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C01A6E06C3; Tue, 2 Nov 2010 07:08:06 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 82039E06C3 for <gentoo-user@lists.gentoo.org>; Tue, 2 Nov 2010 07:08:06 +0000 (UTC) Received: by bwz7 with SMTP id 7so8126973bwz.40 for <gentoo-user@lists.gentoo.org>; Tue, 02 Nov 2010 00:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=yMVEY2UdCSTJphgN9ynnOOwRK8Lz48KAV8QLHzUDBmk=; b=L4vYsG6D8bFfvFit/RsmJfremyJLBmiN98Gdle4hwgMOqOtzJnxr+MOcqfjS6HCW01 96TE/syuJh7YtXO7eb+vQyLuAF9T0ghm26IhK+BqTl0Xx4kMM0ZZNONnOS36LwhL1Xai slM4KP6FroL/YvOQImnTFxnuqKD+nZ5xU4LRI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=wpPf+9MqkvwVvm5CgaGHkhHKgln8wBtQB9F/AeV4urTnvCunemRn93F7m3HpkVtB20 w1UTwczu5+DwVsRFbe9+ZZ9VJIFyvLoQsnyBwFxXv1juA9zsFc9T2zrWfsMPVrSYUiBH jpGdFXK4ZCpAwGUeNu6Wtce3hJsCR3b3Mq1+g= Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.118.209 with SMTP id w17mr13254507bkq.107.1288681685868; Tue, 02 Nov 2010 00:08:05 -0700 (PDT) Sender: daniel.pielmeier@googlemail.com Received: by 10.204.126.152 with HTTP; Tue, 2 Nov 2010 00:08:05 -0700 (PDT) In-Reply-To: <4CCF519A.6060500@garygolden.me> References: <4CCF519A.6060500@garygolden.me> Date: Tue, 2 Nov 2010 08:08:05 +0100 X-Google-Sender-Auth: 8LZ9oZ5kYHQBEb5sryxefWmsDxA Message-ID: <AANLkTimbsucR+OgCvSYQFPSv8YCyFv0ZrKco6mLLbntU@mail.gmail.com> Subject: Re: [gentoo-user] world symlinking From: Daniel Pielmeier <billie@gentoo.org> To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 34aa745d-b027-4f67-b87b-ac7e5c4eaba4 X-Archives-Hash: 24a57d7da203764b4bf17d17a54b685f 2010/11/2 Gary Golden <mail@garygolden.me>: > Hi, list. > I keep changes of my /etc with git and I would like to include > /var/lib/portage/world file into the repository. > > Can I safely do: > > mv /var/lib/portage/world /etc/portage > ln -s /etc/portage /var/lib/portage/world > > Will portage update handle it properly? > Using hardlinks seems to be more cleaner way, but for some reason I > don't want to use it for this task. It should work. Just try it out, but make a copy of your world file before. Should be easy to switch back if anything fails. Afaik, the creation of the symbolic link should look like this: ln -s /etc/portage/world /var/lib/portage/world -- Daniel Pielmeier