Redirecting $TEMP or a certain directory to /tmp

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Jan 14 17:16:00 GMT 2010


On Thu, Jan 14, 2010 at 01:37:30PM +0100, Corinna Vinschen wrote:
>On Jan 14 11:28, Thomas Wolff wrote:
>> Thomas Wiedmann wrote:
>> >>>how can in Cygwin the directory, which is in Windows
>> >>>configured as $TEMP, or
>> >>>a certain other directory, be redirected to /tmp?
>> >>
>> >>man mount
>> >
>> >... didn't work: I tried
>> > mount -f E:\Temp /tmp
>> mount -f 'E:\Temp' /tmp
>> to escape the backslash
>
>Use the forward slash, just like in /etc/fstab:
>
>  mount -f E:/Temp /tmp

And, if you want this to be permanent you need to *put* it in
/etc/fstab.

cgf

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



More information about the Cygwin mailing list