delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/14/11:37:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 14 Jan 2010 11:37:10 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Redirecting $TEMP or a certain directory to /tmp
Message-ID: <20100114163710.GD9964@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <hih84d$2eo$1 AT ger DOT gmane DOT org> <hihadl$70l$1 AT ger DOT gmane DOT org> <hil0hi$bmn$1 AT ger DOT gmane DOT org> <4B4EF1E6 DOT 50903 AT towo DOT net> <20100114123730 DOT GC14511 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20100114123730.GC14511@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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

- Raw text -


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