This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Minor bug and a question
- To: Sergey Okhapkin <sos at prospect dot com dot ru>
- Subject: Re: Minor bug and a question
- From: Jim Balter <jqb at netcom dot com>
- Date: Wed, 12 Feb 1997 03:50:20 -0800
- CC: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>
- Organization: JQB Enterprises
- References: <01BC18D5.F530AD80@gater.krystalbank.msk.ru>
Sergey Okhapkin wrote:
>
> Jim Balter wrote:
> > > send it on to you. However, in reference to the original comment, there
> > > are facilities in win32 to support hard links.
> >
> > Ok, but it is still NTFS-specific, and thus cannot be depended upon
> > by gnu-win32.
>
> Why? Winsup code may create hard links on NTFS partitions and make a copy of file (as it works now) on FAT partitions.
The context of ths discussion was a suggestion that foo and foo.exe
be links instead of bash taking foo to mean foo.exe. That's a
design decision that is affected by the cost of making a link.
You can't assume that links are cheap; that's what I mean by "depend
upon". I didn't say that you can't implement links as hard links
on NTFS, you just can't DEPEND UPON the result of ln foo bar
creating a hard link rather than a copy.
--
<J Q B>
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".