This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can ipc-daemon2 put its files in directory other than /tmp?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]