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: signature.asc
Description: PGP signature

Reply via email to