delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/01/14:24:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 1 Aug 2002 14:24:16 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bug: hard links to soft links do not work
Message-ID: <20020801182416.GD26315@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <sa0eldimogw DOT fsf AT glip DOT premonitia DOT com>
Mime-Version: 1.0
In-Reply-To: <sa0eldimogw.fsf@glip.premonitia.com>
User-Agent: Mutt/1.3.23.1i

On Thu, Aug 01, 2002 at 02:19:11PM -0400, Sam Steingold wrote:
>cygwin does not handle hard and soft links together:
>
>$ echo "foo" > foo
>$ ln foo 1
>$ cat 1
>foo                             ; GOOD!
>$ ln -s 1 2
>$ cat 2
>foo                             ; GOOD!
>$ ln 2 3
>$ cat 3
><some binary data instead of "foo">
>$
>
>I.e., hard links to soft links do not work.

Funny, when I try this on linux, I get:

  % ln 2 3
  ln: `2': warning: making a hard link to a symbolic link is not portable

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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