X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 14 Dec 2009 13:34:26 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [1.7] hard link error on FAT32 with zsh Message-ID: <20091214123426.GH8059@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20091214105829 DOT GE8059 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Dec 14 13:22, Thorsten Kampe wrote: > * Corinna Vinschen (Mon, 14 Dec 2009 11:58:29 +0100) > > On Dec 11 21:36, Thorsten Kampe wrote: > > > Hi, > > > > > > I was testing the latest 1.7 DLL snapshot (1.7.2s(0.218/5/3) 20091209 > > > 12:02:30) and the current 1.7 one (that you get from setup-1.7.exe). I > > > am starting zsh and get the following error: "zsh: failed to create hard > > > link as lock file /home/thorsten/.zhistory.LOCK: operation not > > > permitted". > > > > > > This relates to the following setting in .zshrc: "HISTFILE=~/.zhistory". > > > Zsh starts but no history is available. Cygwin is located on a FAT32 > > > thumb drive. > > > > That's why. FAT32 does not support hardlinks. > > Well, then why don't I get this error with the latest 1.5 DLL? It's the > same thumb drive, the same installation... > > I used to test 1.7 DLLs and in some snapshot the error was introduced. It's not a bug, it's a feature. Hardlinks on FAT don't exist. They have been faked in 1.5 by copying the file. The decision was made a coupld of weeks back to drop this fake since the application should know that the underlying filesystem is not capable of creating hardlinks. It's in the mail archive and in the "What's new" section of the User's Guide. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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