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]

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


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

You know you can mount /tmp to any directory, right? Since you presumably have a startup script to kick things off, why not just do something like the following, assuming the current dir is your install dir:

mkdir tmp
mount -b "`cygpath -am .`" /tmp

If you know the full pathname of the directory you can use that instead
of cygpath, i.e.

mount -b "c:/program files/whatever/tmp" /tmp

You should probably do this for /bin as well. See the manpage for more.

Actually I didn't know about that. I didn't even think mount would work in Cygwin.


Cool, thanks!

--
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]