X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4D790215.90403@towo.net>
Date: Thu, 10 Mar 2011 17:53:41 +0100
From: Thomas Wolff <towo@towo.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)
References: <a13b5a590911301753w74ccf298g669e55fc58d36c50@mail.gmail.com> <20091201091515.GC30043@calimero.vinschen.de> <AANLkTimtUQV5LCymquHFe115JL4S9Ld-GUgdLJbetan8@mail.gmail.com> <4D755880.2040800@cornell.edu> <AANLkTinj1pnTqkhSVh-inmozn6X29Ark7F8V2bTjTnFF@mail.gmail.com> <AANLkTi=g=ja-jOm2nM3CsBSs-GANn3o-J_y++c9-mGJ-@mail.gmail.com> <AANLkTik7FAijnJi11Y4tPz+s3qh_iySSUAgfRfQfx_uH@mail.gmail.com> <20110308134803.GA1050@calimero.vinschen.de> <AANLkTikbwKdtVsbboGVxwrRycx+LjvsYTcGDogzwm82d@mail.gmail.com> <AANLkTik9djXZphzQX+mAJ1oRw4ujeoqx3K7faFX4F29S@mail.gmail.com> <20110309092648.GM12899@calimero.vinschen.de> <4D77D524.80401@towo.net> <4D78E2E3.8030309@dronecode.org.uk>
In-Reply-To: <4D78E2E3.8030309@dronecode.org.uk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Am 10.03.2011 15:40, schrieb Jon TURNEY:
> On 09/03/2011 19:29, Thomas Wolff wrote:
>> For example if cygwin is still installed on a FAT drive (I know ...) it may be
>> useful (for all users) to switch /tmp to an NTFS directory (e.g. XWin used to
>> fail with a FAT /tmp for a while).
> This is wrong on several counts.
>
> XWin still fails with /tmp on FAT.  This is because XWin uses hardlinks to
> create it's lock file, and cygwin can't support hardlinks on FAT because the
> filesystem doesn't support them.
>
> XWin uses the literal path /tmp.  A lock file which appears in a different
> place depending on an environment variable wouldn't be much of a lock file.
Oops, you're right. Actually the workaround I used here is to remount /tmp
('mount -f C:/tmp /tmp' in a profile; I could have checked that...)

Thomas

> If you actually have this problem with XWin, you should use the server option
> -nolock.
>
> --
> 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
>


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

