This is the mail archive of the cygwin@cygwin.com 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: XP and /tmp directory


>From Robert Pollard:
> I have a situation where when i start cygwin, the program say's i have
> to create a folder /tmp.
>
> I saw one response to this post but it didn't give any detail as to
> what the permanent solution would be.  In other words, what do I have
> to do to make the program see /tmp wherever it is.

$ mkdir /tmp
WFFM - i.e. Works Fine For Me

> Any ideas, thought, etc. are much appreciated.

As the Windows environment is visible as:

$ set | grep TEMP
TEMP=/cygdrive/d/TEMP
TMP=/cygdrive/d/TEMP
TMPDIR=/cygdrive/d/TEMP

i.e. *I* do have D: (/cygdrive/d/) as Windows TEMP storage. It actually also
holds all active page/swapfiles.

 It might be possible to
$ rmdir /tmp
$ ln -s ${TEMP} /tmp

or maybe
$ rm -rf /tmp
$ mkdir /tmp
$ mount -f -s -b "`cygpath -w ${TEMP}" "/tmp"

I've tried none of the last two... Ideas/Comments anyone?


/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+1, GMT+1, CET --
--END OF MESSAGE--


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