From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <13426df10705311207u68ec4c38g9cf2a17eeda3e23@mail.gmail.com> References: <13426df10705311154k4a9da7b1hb52c47e506fc45ee@mail.gmail.com> <88a7b6a7cf96a89ffe11600ae7ca0d62@hamnavoe.com> <13426df10705311207u68ec4c38g9cf2a17eeda3e23@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: andrey mirtchovski Subject: Re: [9fans] /tmp in "ram disk" Date: Thu, 31 May 2007 13:10:49 -0600 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 7667d31e-ead2-11e9-9d60-3106f5b1d025 can't you mount ramfs on / (before) and then create tmp inside ramfs? On May 31, 2007, at 1:07 PM, ron minnich wrote: > On 5/31/07, Richard Miller <9fans@hamnavoe.com> wrote: >> > i.e. where in the >> > pccpu >> > or whatever would I put an entry such that I get a >> > /tmp >> > directory when it comes up? >> >> /sys/src/9/port/devroot.c:94,107 >> >> > > I sleazed out and put an addrootdir("tmp") in devroot.c. It was the > easiest way out, > and that seems to be how it's done. > > What I've got is a very limited node, security not an issue. I need a > ramfs, but I want a /tmp there for it. Simple stuff. > > thanks > > ron