Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 10 Jul 2003 17:22:49 +0100 From: Elfyn McBratney X-X-Sender: elfyn AT ellixia Reply-To: cygwin AT cygwin DOT com To: fergus AT bonhard DOT uklinux DOT net cc: cygwin AT cygwin DOT com Subject: Re: Globally redirecting output elsewhere than /tmp/ In-Reply-To: <000001c346fe$33097080$6fc82486@medschool.dundee.ac.uk> Message-ID: References: <000001c346fe$33097080$6fc82486 AT medschool DOT dundee DOT ac DOT uk> Mail-Followup-To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 10 Jul 2003 fergus AT bonhard DOT uklinux DOT net wrote: > The directory /tmp seems to be hardwired into some applications as a > repository for temporary files created during those applications' activity. > (Rather than using env. vars. TEMP or TMP, I mean.) '/tmp' is the UNIX 'Recycle Bin'. Some programs may have hard-coded '/tmp' and some may use TMP or TMPDIR... > Is there a way of globally diverting such temporary files elsewhere, as in > "for /tmp read h:/temp throughout this session"? > > I've tried fiddling with all of alias, ln, mount, ..., but none of these > seem to provide quite what's needed. Well, `mount' should give you what you want here. Just mount H:\\temp /tmp do that before starting Cygwin. > (Reason for asking: I am still experimenting with portable-Cygwin-on-a-CD. > Then the un-write-ability of the directory /tmp and possibly of other > directories too is occasionally proving to be problematic.) Elfyn -- Elfyn McBratney, EMCB http://www.emcb.co.uk elfyn AT emcb DOT co DOT uk -- 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/