Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] What to put in chroot mtab
Date: Fri, 01 Aug 2014 19:33:07
Message-Id: 20140801203254.6f1726d7@hactar.digimed.co.uk
In Reply to: [gentoo-user] What to put in chroot mtab by Peter Humphrey
1 On Fri, 01 Aug 2014 14:07:08 +0100, Peter Humphrey wrote:
2
3 > I run a couple of chroots on this box to build packages for other boxes
4 > on the LAN. So far, I haven't worked out what I should
5 > populate /etc/mtab with in each chroot. Is it enough to "grep
6 > ext4 /etc/mtab > /mnt/chroot/etc/mtab"? That catches all the physical
7 > partitions, but I imagine I need to add some /proc, /sys and /dev
8 > entries as well, but is there a simple formula for doing this?
9
10 Do you need anything in mtab in the chroot? I've been using chroots to
11 build packages for slower machines for years and /etc/mtab has always
12 been empty or non-existent, with no problems. df gets the hump when run
13 inside the chroot, but the package building works fine.
14
15
16 --
17 Neil Bothwick
18
19 Every morning is the dawn of a new error...

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] What to put in chroot mtab "J. Roeleveld" <joost@××××××××.org>
Re: [gentoo-user] What to put in chroot mtab Peter Humphrey <peter@××××××××××××.uk>