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 519F1138247 for ; Tue, 31 Dec 2013 02:55:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10C69E0AAD; Tue, 31 Dec 2013 02:55:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C428E0AAD for ; Tue, 31 Dec 2013 02:55:05 +0000 (UTC) Received: from [192.168.1.210] (S010600222de111ff.vc.shawcable.net [96.49.5.156]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 9C89833F61D for ; Tue, 31 Dec 2013 02:55:04 +0000 (UTC) Message-ID: <1388458480.24088.99.camel@big_daddy.dol-sen.ca> Subject: Re: [gentoo-catalyst] mounts changes was: [PATCH 5/6] modules/generic_stage_target.py, modules/stage1_target.py: Add a target_mounts dictionary From: Brian Dolbec To: gentoo-catalyst@lists.gentoo.org Date: Mon, 30 Dec 2013 18:54:40 -0800 In-Reply-To: <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> <20131229035239.GK29195@odin.tremily.us> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-qgw5nI8ciIUo5rN8gdPV" X-Mailer: Evolution 3.6.4 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 X-Archives-Salt: 8d27762f-ee89-4ecf-801c-d678a29f8eb3 X-Archives-Hash: 844cd835a45a3c13803b7b06b451033f --=-qgw5nI8ciIUo5rN8gdPV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2013-12-28 at 19:52 -0800, W. Trevor King wrote: > 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. >=20 > After Douglas Freed talked me off the devtmpfs ledge on > #gentoo-releng, my current suggested mount changes are: >=20 > -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) >=20 > 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). >=20 > Cheers, > Trevor >=20 No, we can't drop distdir and packagedir. The default locations for those are waiting for the catalyst changes to be completed. That is the reason I got started rewriting catalyst a year ago. Those 2 directories are being relocated OUT of the tree. Like they should have been all along. --=-qgw5nI8ciIUo5rN8gdPV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQF8BAABCgBmBQJSwjHwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4Njg4RkQxQ0M3MUMxQzA0RUFFQTQyMzcy MjE0RDkwQTAxNEYxN0NCAAoJECIU2QoBTxfLVvsH/0nclWQo4rM5N8NDwX8ygAqD RjZGe5Cwt2e1Nx3dCP68nqmgaMb2nrhU2rUktW8mnuODpdcdm5rjqVdO+sqEi6mN Py5EuH66q0Mti2P7QzOYhHec4HLFZ9TV0id09d4DqknMgrIsHcUqwU2mEZTJMqYl PiVeauIfRJLnMNN+9o2IJr4LcHJ/bRCBAYW8XSemga3iw9O8iLhPLx53DeQhWArA yJjIylpjNNAfvJRw0X9WFE3dKvd0vXJQp9aPlEhLQwru77OgAFHtaHVqEaLajgvI iwPOoa9ankrj/rBl2LEaBAOGp7UZzS6o52pb3vpeUC1lNypDThxy70cP+BL1Xqo= =ufHT -----END PGP SIGNATURE----- --=-qgw5nI8ciIUo5rN8gdPV--