This is the mail archive of the
mailing list for the Cygwin project.
Re: ln -- is there a way to get the old behavior back? (ENV var?)
- From: Eric Blake <eblake at redhat dot com>
- To: Linda Walsh <cygwin at tlinx dot org>
- Cc: cygwin at cygwin dot com
- Date: Wed, 7 Jul 2010 01:36:37 -0400 (EDT)
- Subject: Re: ln -- is there a way to get the old behavior back? (ENV var?)
----- "Linda Walsh" <email@example.com> wrote:
> Is there a way to get back the previous 'ln' behavior and have
> it create a NTFS hard link? The new behavior -- having it create
> a hardlink that works only in cygwin is less than useful to me, since
> I use cygwin to maintain windows.
Huh? If your file system allows the creation of hard links,
such as NTFS, then those hard links are visible to any other
use of that file system (whether it be other windows but
non-cygwin processes, or even remote access of a network-based
file system); there is nothing cygwin-specific about
that. Perhaps you are confusing things with cygwin symlinks,
where we really do have to have cygwin-specific behavior?
Remember, ln can be used to create both hard links and symlinks,
but while symlinks can be emulated on any file system (at the
expense of being cygwin-specific), hard links require
underlying fs support (and hence fails on FAT, which lacks
As is, your question didn't make much sense to me; please
show a transcript of exact command line sequences showing what you
are trying to accomplish and why you think that cygwin isn't
doing the right thing, rather than just describing it in words.
Eric Blake firstname.lastname@example.org +1-801-349-2682
Libvirt virtualization library http://libvirt.org
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple