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 29FE2138247 for ; Sun, 29 Dec 2013 03:52:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EBB5E0AFC; Sun, 29 Dec 2013 03:52:43 +0000 (UTC) Received: from qmta06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by pigeon.gentoo.org (Postfix) with ESMTP id 7A16AE0AFC for ; Sun, 29 Dec 2013 03:52:41 +0000 (UTC) Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) by qmta06.westchester.pa.mail.comcast.net with comcast id 7FsG1n0030xGWP856FshKc; Sun, 29 Dec 2013 03:52:41 +0000 Received: from odin.tremily.us ([24.18.63.50]) by omta12.westchester.pa.mail.comcast.net with comcast id 7Fsg1n006152l3L3YFsgKf; Sun, 29 Dec 2013 03:52:41 +0000 Received: by odin.tremily.us (Postfix, from userid 1000) id BD85AE25DE7; Sat, 28 Dec 2013 19:52:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; t=1388289159; bh=rqePFWPX1BnMzdUsGQErM3hruJWb82nPzmgdL2e2EgQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=CjY+fPrMs3AbNMa+6MP1DnClO6CLmw8IK/1z9MliKQTUArQUOiCIUrIfsCqQk7BYM bUs8tlyCNp9p3ZA0hycQUoUqZKYx5JFxVGfRlWEe3LQex5ENaFcntvHtnMGlkw3AHh wiYJ0QLemqintsOr5D4kE4VeEkMSPKpSwKYODv9c= Date: Sat, 28 Dec 2013 19:52:39 -0800 From: "W. Trevor King" To: gentoo-catalyst@lists.gentoo.org Cc: Douglas Freed Subject: Re: [gentoo-catalyst] [PATCH 5/6] modules/generic_stage_target.py, modules/stage1_target.py: Add a target_mounts dictionary Message-ID: <20131229035239.GK29195@odin.tremily.us> References: <1388282230-3563-1-git-send-email-dolsen@gentoo.org> <1388282230-3563-6-git-send-email-dolsen@gentoo.org> <20131229024911.GH29195@odin.tremily.us> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LHvWgpbS7VDUdu2f" Content-Disposition: inline In-Reply-To: <20131229024911.GH29195@odin.tremily.us> OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8; url=http://tremily.us/pubkey.txt User-Agent: Mutt/1.5.22 (2013-10-16) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1388289161; bh=XI7O5c/QXXiFBFSzBF/u3411nE4B+NifqgR6wp28Q1U=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=edhOOtssn9YQrE4RvxftCQMib6nfK8gnPyOi6u8T1YZaIR5c5svD1Nhujm1h+uqCG WCVkgC9p5//CYFKzeDhh8oJ3X4yUfgJT0C6ESjCUy5biRDwMZsOOvZMlVi5FBKnQtR opepnWvf9MEa6EfQP2MNEYh/UnFMhCvTDvdNeBBBHuO8nrA5pKTILcoQJUxW18C6jt XmkSk1ZZSp9jJiZjDEZnFEKjRScGaiEDdiRlUU5G20IkZS1rW2bhl42ETNDHTfMAp+ rISQSi2BeU+iPTsLXpbDW3dcJ5+NrqfcLgcaNziqZ5GPD2rGOmImuzQIs6bH1kCoxi Az1ILIF71a5OQ== X-Archives-Salt: ad9f6b6f-cd18-4b6e-9554-4d08b0e1fa4b X-Archives-Hash: 3305f6c57880a6630ddc1930f12f7679 --LHvWgpbS7VDUdu2f Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 28, 2013 at 06:49:11PM -0800, W. Trevor King wrote: > On Sat, Dec 28, 2013 at 05:57:09PM -0800, Brian Dolbec wrote: > > - self.mounts.append("/tmp/stage1root/proc") > > - self.mountmap["/tmp/stage1root/proc"]=3D"/proc" > > + self.mounts.append("stage1root/proc") > > + self.target_mounts["stage1root/proc"] =3D "/tmp/stage1root/proc" > > + self.mountmap["stage1root/proc"]=3D"/proc" >=20 > Hmm. I'm not how this is handled at the moment, but don't we want: >=20 > mount -t proc none /tmp/stage1root/proc >=20 > instead of: >=20 > mount --bind /proc /tmp/stage1root/proc >=20 > The handbook is currently using --rbind as well [1]. >=20 > Maybe food for a future series :p. After Douglas Freed talked me off the devtmpfs ledge on #gentoo-releng, my current suggested mount changes are: -t: proc --rbind: sys dev portdir =20 port_logdir port_tmpdir kerncache ccache icecream drop: devpts (now that we --rbind /dev) distdir (now that we --rbind portdir) packagedir (now that we --rbind portdir) For distdir/packagedir, I'd be find if the source defaulted to None (meaning =E2=80=9Cdon't mount anything=E2=80=9D) but could be configured to= a path (meaning =E2=80=9C--rbind this after you've --rbind-mounted portdir=E2=80= =9D). Cheers, Trevor --=20 This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy --LHvWgpbS7VDUdu2f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJSv5yGAAoJEKKfehoaNkbt4fgQAJVaEGLKg3aTRCPqZzjrYpk/ zD2mgWmIqERh5P3uO2VfQ2Sdb1yQVKBKlKJV41N4sjwoPdlBEg/S6CstzfInwr63 KdHtqcVn94Ag0gm62AhuMMjGmJFzSEjp/4TdU9JghDp4r964zwRqVa9OESPhSLon Ad+DaRB5J26fr5Ca3HnkUDgSaZblu85EWDardql2FJe2jkK+d+m94xX73CTTmERT w0rphq88Vpp5iI6vAyNyWySvzfeALfzPE9E5uX4Cy8Ko7IHJjbCF+J4R5pjhAwyx 7b0AnLQIcQM1lcUvPMMESl4i+ReSRy6Y/tAt2d+xAZkc//Jjnk4IjEZQYpN82Tv2 mXStDVzGMNG1IeX02gkkh0mwO7JM2g1Jbx/H9KUwSl2+p7BWJiF2lFzu1Y3GRxa+ PPw0NLrhT3PigtPRzh9KTetk8GvScUCHHOyZGUWK7izP9enbY+EvFjVwlooymTPS rpUIWAeGWu4z4/shzdItifKKbJyLaqEKsyvVmguuvZGcnrXz9yJHm5uCpOelxOgQ KT/riJThyf0/sdypj4qaLIS3h3PcSXg8D/mVnQTO+BExiqltTBtW0MbPqdiaYHZ4 HcLX/KFbuH8SVs7GjnVaajQPZmAmH/MFeX6bNFxipHa5gItmOInjucBAPQ47cU9W kyaH4Opyv1HEmtFwC50v =scs7 -----END PGP SIGNATURE----- --LHvWgpbS7VDUdu2f--