delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/13/10:17:59

X-Spam-Check-By: sourceware.org
Date: Wed, 13 Dec 2006 10:17:00 -0500
From: "Kenneth Nellis" <knellis AT syntek-usa DOT com>
Subject: RE: bash.exe: warning: could not find /tmp, please create!
In-reply-to: <45800D44.8010204@byu.net>
To: <cygwin AT cygwin DOT com>
Message-id: <006c01c71ec9$bd3b2c20$be32000a@idirect.net>
MIME-version: 1.0
X-Mailer: Microsoft Office Outlook 11
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

> From: Eric Blake 
> Sent: Wednesday, December 13, 2006 9:25 AM
> To: cygwin AT cygwin DOT com
> Subject: Re: bash.exe: warning: could not find /tmp, please create!
> 
> <snip>
> Yes, it is annoying that when /tmp is not mounted, and / does not contain
> a physical subdirectory named tmp, that bash refuses to start.  I'll
> consider ripping that out of bash, since it was an upstream chunk of code
> protected by __CYGWIN__ (ie. someone in the distant past, before I was
> maintainer, thought that such a cygwin-specific patch would be useful),
> and replacing it with mkdir("/tmp") instead.  Then the failure would only
> be if /tmp cannot be created, rather than that it did not exist.
> <snip>

I'm curious if Eric intends to reference /tmp directly, as opposed to
recognizing environment variable TMPDIR, if defined?
--Ken Nellis


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

- Raw text -


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