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 2C43713877A for ; Fri, 1 Aug 2014 15:07:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A723E08C7; Fri, 1 Aug 2014 15:07:28 +0000 (UTC) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 746EEE086B for ; Fri, 1 Aug 2014 15:07:27 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id hy10so6887382vcb.18 for ; Fri, 01 Aug 2014 08:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=5czi+QyjMXSlbH8pMdOjL7GeEwnKO7c/xbGQCLmbJzM=; b=WGEFRuSR543M6U7zmASQSF7YeYCbz3v2BJwdGlv/OC/5BclS2gGnFVpd9vhlUOk8AA 4/MVlcYayDb/Hjnp6Y1EAhLau9U2lrI96sd0ypItvIMFeuX7/VyZ05q9ITq8Bc+CxRMg XiOZssDO6eQXowEwDexXsSqd9dB/Yl/Jq/h3mCOggL7rEUHJYUcQOJM4qY+nPBPJftMy pIiHds2N82EpLvEoSPck+AM6pFMZCuT2+xtRPA4XkYwrg+DJ34YDq6sJ4p4a1e8aXgFg bf7+U2XcGZ9WqbyVS79fBU7zHnLf4rDv7K3RCh/Lex5+pyN45yCVrHW9i9jBSpi1gXgc k7QQ== 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 X-Received: by 10.221.56.132 with SMTP id wc4mr6951778vcb.38.1406905646663; Fri, 01 Aug 2014 08:07:26 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.8.229 with HTTP; Fri, 1 Aug 2014 08:07:26 -0700 (PDT) In-Reply-To: References: <3566559.YT61t9IyHV@wstn> <6536155.f0GWtIUbSO@wstn> Date: Fri, 1 Aug 2014 11:07:26 -0400 X-Google-Sender-Auth: pYbL6fdtfokwAad8BHpexjPtXM4 Message-ID: Subject: Re: [gentoo-user] What to put in chroot mtab From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6c54b879-ae9d-4ebc-9a1d-220cd71170dc X-Archives-Hash: 141aa42edfc739e83a209b60ab5304fd On Fri, Aug 1, 2014 at 11:00 AM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: > And just for completeness, systemd actually requires /etc/mtab as a > link to /proc/self/mounts, so don't be surprised if software in the > future in Linux just assumes that. Part of the reason for this is namespace support. As namespaces become more popular the concept of a global list of mounts goes away, because every process on the system has its own view of the virtual filesystem. Chroots are just a very primitive form of file namespaces when you think about it. Rich