This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

hardlink giving out .lnk?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]