From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1BF6613877A for ; Fri, 1 Aug 2014 13:12:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A9A9E09C5; Fri, 1 Aug 2014 13:12:49 +0000 (UTC) Received: from smarthost01c.mail.zen.net.uk (smarthost01c.mail.zen.net.uk [212.23.1.5]) by pigeon.gentoo.org (Postfix) with ESMTP id 39DF4E0996 for ; Fri, 1 Aug 2014 13:12:47 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01c.mail.zen.net.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XDCdb-000GUi-Em for gentoo-user@lists.gentoo.org; Fri, 01 Aug 2014 13:12:47 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] What to put in chroot mtab Date: Fri, 01 Aug 2014 14:12:46 +0100 Message-ID: <6536155.f0GWtIUbSO@wstn> Organization: at home User-Agent: KMail/4.12.5 (Linux/3.12.21-gentoo-r1; KDE/4.12.5; x86_64; ; ) In-Reply-To: <3566559.YT61t9IyHV@wstn> References: <3566559.YT61t9IyHV@wstn> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01c-IP: [82.69.80.10] X-Archives-Salt: 067b7800-8a24-4fb6-89aa-c4fc53e3cbab X-Archives-Hash: 6e1a8883a4a0a5faeffa36250cb6c965 On Friday 01 August 2014 14:07:08 I wrote: > I run a couple of chroots on this box to build packages for other boxes on > the LAN. So far, I haven't worked out what I should populate /etc/mtab with > in each chroot. Is it enough to "grep ext4 /etc/mtab > > /mnt/chroot/etc/mtab"? That catches all the physical partitions, but I > imagine I need to add some /proc, /sys and /dev entries as well, but is > there a simple formula for doing this? I meant to add that one chroot is 32-bit and the other is 64. The host is an i5 running openrc. -- Regards Peter