delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
From: | Julio Costa <costaju AT gmail DOT com> |
Date: | Mon, 12 Oct 2009 11:51:30 +0100 |
Message-ID: | <af075b00910120351i9733155o6940532a35ca6805@mail.gmail.com> |
Subject: | hardlink giving out .lnk? |
To: | Cygwin Mailing list <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Something strange... at least to me. STC: /tmp$ uname -a CYGWIN_NT-5.1 PT00062412 1.7.0(0.214/5/3) 2009-10-03 14:33 i686 Cygwin /tmp$ ls -l /dev/log srw-rw-rw- 1 SYSTEM root 53 Oct 9 23:12 /dev/log /tmp$ ln /dev/log log /tmp$ ls -l total 1 srw-rw-rw- 2 SYSTEM root 53 Oct 9 23:12 log.lnk HUH? .lnk?? This is a **hard link**. And even if it was a symbolic, there's no more .lnk, unless we ask explicitely, right? FYI, I can do a ln -s log.lnk log, and it still works (eg., with logger), AFAICS. But this is probably not the intended way of working. -- ___________ Julio Costa -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |