X-Recipient: archive-cygwin AT delorie DOT 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 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 AT cygwin DOT com Subject: Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67) References: <20091201091515 DOT GC30043 AT calimero DOT vinschen DOT de> <4D755880 DOT 2040800 AT cornell DOT edu> <20110308134803 DOT GA1050 AT calimero DOT vinschen DOT de> <20110309092648 DOT GM12899 AT calimero DOT vinschen DOT de> <4D77D524 DOT 80401 AT towo DOT net> <4D78E2E3 DOT 8030309 AT dronecode DOT org DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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