X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_40,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Wed, 7 Jul 2010 01:36:37 -0400 (EDT) From: Eric Blake To: Linda Walsh Cc: cygwin AT cygwin DOT com Message-ID: <950438242.402151278480997561.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com> In-Reply-To: <4C33C8C5.7020702@tlinx.org> Subject: Re: ln -- is there a way to get the old behavior back? (ENV var?) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 ----- "Linda Walsh" 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 that support). 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 eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org -- 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