From owner-freebsd-python@freebsd.org Wed Dec 14 06:30:19 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35297C7544D for ; Wed, 14 Dec 2016 06:30:19 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 21BB41A48 for ; Wed, 14 Dec 2016 06:30:19 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: by mailman.ysv.freebsd.org (Postfix) id 1E376C7544B; Wed, 14 Dec 2016 06:30:19 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DE25C7544A for ; Wed, 14 Dec 2016 06:30:19 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id AE2041A47 for ; Wed, 14 Dec 2016 06:30:18 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-147-181.bras1.adl6.internode.on.net (HELO leader.local) ([118.210.147.181]) by ipmail06.adl6.internode.on.net with ESMTP; 14 Dec 2016 16:54:39 +1030 Subject: Re: lang/python3* ports, __pycache__ included To: Kyle Evans References: Cc: python@freebsd.org From: Shane Ambler Message-ID: Date: Wed, 14 Dec 2016 16:54:37 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 06:30:19 -0000 On 14/12/2016 00:42, Kyle Evans wrote: > On Tue, Dec 13, 2016 at 4:59 AM, Kubilay Kocak wrote: >> >> Note that they will be re-created on import unless one overrides the >> default for the interpreter to produce these optimization files. >> >> I'm not sure (or cant remember) if there is a good way to disable this >> on a global or system-wide basis. > > Yeah, I was aware of this -- my response to mva@ mentioned that > runtime creation is ok. =) What I'm really trying to go for (and still > working out the details -- still planning, decent amount of time > before implementation), is going to have a small-disk constraint > (Think < 1GB), but a decent amount of memory. What I *really* want to > do that I haven't even started to work out the logistics on is > effectively overlay this disk into memory with no writing back to > disk. Something similar to a nullfs with copy-on-write semantics is > what I was hoping for, but that doesn't seem to be easy to accomplish. Sounds like you could use mdconfig to create a ram disk that is writeable by the user and unionfs it over the non-writable fs I haven't used it but man mount_unionfs says it is not fully supported - there is sysutils/fusefs-unionfs that could be an option. -- FreeBSD - the place to B...Software Developing Shane Ambler