public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] What to put in chroot mtab
Date: Fri, 1 Aug 2014 20:32:54 +0100	[thread overview]
Message-ID: <20140801203254.6f1726d7@hactar.digimed.co.uk> (raw)
In-Reply-To: <3566559.YT61t9IyHV@wstn>

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

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.


-- 
Neil Bothwick

Every morning is the dawn of a new error...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  parent reply	other threads:[~2014-08-01 19:33 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 13:07 [gentoo-user] What to put in chroot mtab Peter Humphrey
2014-08-01 13:12 ` Peter Humphrey
2014-08-01 13:28   ` Dale
2014-08-01 20:46     ` J. Roeleveld
2014-08-01 21:31       ` Canek Peláez Valdés
2014-08-01 21:33         ` Canek Peláez Valdés
2014-08-01 21:39           ` J. Roeleveld
2014-08-01 21:44             ` Canek Peláez Valdés
2014-08-01 21:46               ` Canek Peláez Valdés
2014-08-02  0:27                 ` J. Roeleveld
2014-08-02  0:21               ` J. Roeleveld
2014-08-02 10:08               ` Peter Humphrey
2014-08-01 23:39       ` Dale
2014-08-01 14:56   ` Peter Humphrey
2014-08-01 15:00   ` Canek Peláez Valdés
2014-08-01 15:07     ` Rich Freeman
2014-08-01 15:25       ` Peter Humphrey
2014-08-01 15:21     ` Peter Humphrey
2014-08-01 15:29       ` Canek Peláez Valdés
2014-08-01 16:50         ` Peter Humphrey
2014-08-02 18:28         ` Rich Freeman
2014-08-01 14:02 ` Rich Freeman
2014-08-01 19:32 ` Neil Bothwick [this message]
2014-08-01 20:40   ` J. Roeleveld
2014-08-02 10:38   ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140801203254.6f1726d7@hactar.digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox