X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 09C39D1D848 for ; Wed, 19 Nov 2003 20:01:55 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 52045-05 for ; Wed, 19 Nov 2003 16:01:24 -0400 (AST) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by svr1.postgresql.org (Postfix) with ESMTP id ABED9D1D859 for ; Wed, 19 Nov 2003 15:56:33 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id 35C9236EAE; Wed, 19 Nov 2003 15:54:08 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 20515365AB; Wed, 19 Nov 2003 15:54:08 -0400 (AST) Date: Wed, 19 Nov 2003 15:54:08 -0400 (AST) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Lucio Cc: pgsql-admin@postgresql.org Subject: Re: Postgresql DB on a live cd In-Reply-To: <200311191119.33444.luke@iond.it> Message-ID: <20031119155256.W731@ganymede.hub.org> References: <200311191119.33444.luke@iond.it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/360 X-Sequence-Number: 11347 On Wed, 19 Nov 2003, Lucio wrote: > Hi, > > I'am trying to create a demo cd (knoppix) with a jdbc application. > > This application uses a static (read-only, no insert, modify or delete) 200MB > postgresql db, so can't put pgsql/data/base and pgsql/data/pg_xlog in ramdisk. > > postmaster fails to start because can't open the files in these two dirs with > read and write access. > > The question is : can postmaster start only with read access ? > > Any alternative solutions ? Create a memory file system and mount that onto as the directory its trying to use?