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 B242113877A for ; Fri, 1 Aug 2014 19:33:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91019E09C6; Fri, 1 Aug 2014 19:33:01 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 53242E08AD for ; Fri, 1 Aug 2014 19:33:00 +0000 (UTC) Received: from hactar.digimed.co.uk (hactar.digimed.co.uk [192.168.1.3]) by mail.digimed.co.uk (Postfix) with ESMTPSA id 2C383242B8 for ; Fri, 1 Aug 2014 20:32:59 +0100 (BST) Date: Fri, 1 Aug 2014 20:32:54 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] What to put in chroot mtab Message-ID: <20140801203254.6f1726d7@hactar.digimed.co.uk> In-Reply-To: <3566559.YT61t9IyHV@wstn> References: <3566559.YT61t9IyHV@wstn> Organization: Digital Media Production X-Mailer: Claws Mail 3.10.1-119-g7fbc83 (GTK+ 2.24.24; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/UzjH0+/WBylzUpYxWAjJEa/"; protocol="application/pgp-signature" X-Archives-Salt: 3b8f7853-517d-4195-9d5a-c3f76ddb7f97 X-Archives-Hash: b738eb6719c737ebacdf3319d100e750 --Sig_/UzjH0+/WBylzUpYxWAjJEa/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 01 Aug 2014 14:07:08 +0100, Peter Humphrey 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? Do you need anything in mtab in the chroot? I've been using chroots to build packages for slower machines for years and /etc/mtab has always been empty or non-existent, with no problems. df gets the hump when run inside the chroot, but the package building works fine. --=20 Neil Bothwick Every morning is the dawn of a new error... --Sig_/UzjH0+/WBylzUpYxWAjJEa/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPb62oACgkQum4al0N1GQOaEACffDXmGEWz1xYgNaBefCkKKcmy XQMAniAncH/b7+jZGKIY6SnvzyVgArmF =CJfT -----END PGP SIGNATURE----- --Sig_/UzjH0+/WBylzUpYxWAjJEa/--