delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/05/23:28:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4049534D.3060406@zara.6.isreserved.com>
Date: Sat, 06 Mar 2004 11:27:57 +0700
From: David Garamond <lists AT zara DOT 6 DOT isreserved DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Can ipc-daemon2 put its files in directory other than /tmp?
X-IsSubscribed: yes

I'm trying to bundle postgresql + cygwin in a single distribution for my 
clients. The goal is that a user can just extract the .zip file and run 
postgresql there (ipc-daemon2 + pg_ctl start; initdb need not be done 
because a zipped 'virgin' data dir will also be provided). Target 
platforms are Win98SE and WinXP Pro. The target machines do not have 
Cygwin installed.

It's pretty simple to do that. I just put all the files under 
postgresql-7.4.1\bin\, including many Cygwin DLLs, several needed 
commands like grep, basename, cat, chmod, sed, etc. And of course, 
postgres.exe, postmaster.exe (which I copied from postgres.exe; 
originally it was a symlink to postgres), and ipc-daemon2.exe.

However, ipc-daemon2.exe seems to always look for /tmp (which is 
c:\cygwin\tmp). On Win98, it seems to be able to use c:\tmp if 
c:\cygwin\tmp doesn't exist, but on WinXP Pro it can't.

Rather than creating c:\cygwin\tmp, can I make ipc-daemon2 put 
MultiFileMsg* and MultiFileShm* in some other place?

-- 
dave


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019