Gentoo Archives: gentoo-catalyst

From: "W. Trevor King" <wking@×××××××.us>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] Re: mounts changes
Date: Tue, 31 Dec 2013 03:06:21
Message-Id: 20131231030615.GB29195@odin.tremily.us
In Reply to: Re: [gentoo-catalyst] mounts changes was: [PATCH 5/6] modules/generic_stage_target.py, modules/stage1_target.py: Add a target_mounts dictionary by Brian Dolbec
1 On Mon, Dec 30, 2013 at 06:54:40PM -0800, Brian Dolbec wrote:
2 > On Sat, 2013-12-28 at 19:52 -0800, W. Trevor King wrote:
3 > > After Douglas Freed talked me off the devtmpfs ledge on
4 > > #gentoo-releng, my current suggested mount changes are:
5 > >
6 > > -t:
7 > > proc
8 > > --rbind:
9 > > sys
10 > > dev
11 > > portdir
12 > > port_logdir
13 > > port_tmpdir
14 > > kerncache
15 > > ccache
16 > > icecream
17 > > drop:
18 > > devpts (now that we --rbind /dev)
19 > > distdir (now that we --rbind portdir)
20 > > packagedir (now that we --rbind portdir)
21 > >
22 > > For distdir/packagedir, I'd be find if the source defaulted to None
23 > > (meaning “don't mount anything”) but could be configured to a path
24 > > (meaning “--rbind this after you've --rbind-mounted portdir”).
25 >
26 > No, we can't drop distdir and packagedir. The default locations for
27 > those are waiting for the catalyst changes to be completed. That is
28 > the reason I got started rewriting catalyst a year ago. Those 2
29 > directories are being relocated OUT of the tree. Like they should
30 > have been all along.
31
32 If they're moving out of portdir, it makes sense to mount them by
33 default. I'm fine with that. And I'm looking forward to ConfigParser
34 spec files with sections like:
35
36 [mounts]
37 icecream = no
38 ubuntu_shm = yes
39
40 [mount source]
41 portdir = /home/wking/src/portage
42 port_logdir = /home/wking/src/portage-logs
43 ubuntu_shm = /run/shm
44
45 [mount targets]
46 ubuntu_shm = /run/shm
47
48 And to chaining spec files so that I can share basic stuff like this
49 between all my stages… Hopefully soon :).
50
51 Cheers,
52 Trevor
53
54 --
55 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
56 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachments

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