Mail Archives: cygwin/2007/05/01/10:01:18
* Eric Blake (Tue, 01 May 2007 07:27:49 -0600)
> According to Thorsten Kampe on 5/1/2007 7:11 AM:
> > Both things are actually the same under Cygwin (tested on my FAT32
> > flash drive and under Windows XP NTFS).
>
> True only for FAT and FAT32, which don't support hard links at all.
>
> > NTFS supports hard links but
> > these are likely not the same as the Unix hard links
>
> Actually, NTFS hard links are supported, and cygwin uses them (setup.exe,
> however, currently does not, so making a hard link in a package won't
> matter, since setup.exe turns it into a copy anyway).
>
> > and Cygwin ln
> > does not create the Windows ones.
>
> Actually, cygwin ln resorts to whatever cygwin1.dll does in the link()
> syscall, and in the case of an NTFS drive, this creates an NTFS hard link.
You are right. Unfortunately you cannot "see" hard links in Cmd or 4NT
"dir" output (while softlinks are displayed as junctions).
Thorsten
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -