Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 068FA475DE7 for ; Fri, 30 Aug 2002 11:59:31 -0400 (EDT) Received: from briar.mmrd.com (unknown [208.255.226.182]) by postgresql.org (Postfix) with ESMTP id 2F55E475D4E for ; Fri, 30 Aug 2002 11:59:30 -0400 (EDT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by briar.mmrd.com (8.11.2/8.11.2) with ESMTP id g7UGvfF18594; Fri, 30 Aug 2002 12:57:41 -0400 Received: from [172.25.1.55] ([172.25.1.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id g7UFxMx14396; Fri, 30 Aug 2002 11:59:24 -0400 Subject: Re: Running postgres on a read-only file system From: Robert Treat To: Tyler Mitchell Cc: pgsql-admin@postgresql.org, nicolasb@maich.gr In-Reply-To: <26346.1030680688@sss.pgh.pa.us> References: <26346.1030680688@sss.pgh.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 30 Aug 2002 11:57:41 -0400 Message-Id: <1030723064.7031.12.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/411 X-Sequence-Number: 5525 On Fri, 2002-08-30 at 00:11, Tom Lane wrote: > "Tyler Mitchell" writes: > > We are trying to make a fully contained, CD-runable version of postgres. > > The only problem we are really having is the locking of the database files > > in the PGDATA folder. Since the PGDATA folder is on the CD (i.e. > > read-only) this will not work. > > You can say that again. > > > Or better yet could you give me some guidance on how to > > get around this. > > Put PGDATA on a writable volume. RAM disk, maybe. > This is only slightly more helpful, and maybe not even, but if you look around there are a couple of linux distros that run completely off of a CD-ROM (I tested a couple a couple of years ago). They set up a "virtual filesystem" of sorts to allow people to browse the web and accept cookies and other various items. If you can find one of these distros you might be able to get a jump start on setting something like that up. Robert Treat