X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: [1.7] hard link error on FAT32 with zsh
Date:  Tue, 15 Dec 2009 08:59:31 +0100
Lines: 29
Message-ID: <hg7fl7$er4$1@ger.gmane.org>
References:  <hfuags$em2$1@ger.gmane.org> <20091214105829.GE8059@calimero.vinschen.de> <hg5alm$sno$1@ger.gmane.org> <4B2639AC.1060708@byu.net> <Pine.LNX.4.64.0912141027000.19572@gremlin.fruitbat.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset="us-ascii"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.9.14
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

* Peter A. Castro (Mon, 14 Dec 2009 11:31:14 -0800 (PST))
> 
> On Mon, 14 Dec 2009, Eric Blake wrote:
> >
> > According to Thorsten Kampe on 12/14/2009 5:22 AM:
> >>> 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...
> >
> > It _didn't_ work.  In 1.5, you ended up creating a copy, which meant there
> > was no locking after all.  If zsh then depended on that attempt at locking
> > working, you would have gotten into inconsistent states.
> >
> > Your best bet now might be to report this as an upstream bug to zsh, and
> > recommend that they use an alternative approach, such as symlink locking
> > (the way emacs does things), if hard link locking doesn't work because of
> > the underlying file system.
> 
> On a side not, Thorsten, you should be able to set your history file 
to
> an NTFS filesystem as a workaround.  Not ideal, I know, but it should be
> servicable for the time being.  Or, for that matter, why are you still
> using FAT32?  Just curious....

As mentioned this is a portable installation on a thumb drive. I would 
use NTFS if there was a way to disable ACLs.

Thorsten


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

