delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/14/07:34:48

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 <corinna-cygwin AT cygwin DOT com>
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: <hfuags$em2$1 AT ger DOT gmane DOT org> <20091214105829 DOT GE8059 AT calimero DOT vinschen DOT de> <hg5alm$sno$1 AT ger DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <hg5alm$sno$1@ger.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

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

- Raw text -


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