Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Date: Thu, 10 Jul 2003 17:22:49 +0100 From: Elfyn McBratney X-X-Sender: elfyn@ellixia Reply-To: cygwin@cygwin.com To: fergus@bonhard.uklinux.net cc: cygwin@cygwin.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@medschool.dundee.ac.uk> Mail-Followup-To: cygwin@cygwin.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 10 Jul 2003 fergus@bonhard.uklinux.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@emcb.co.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/