This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT]: Important change to symbolic linkfunctionality
- To: cygwin at sources dot redhat dot com
- Subject: Re: [ANNOUNCEMENT]: Important change to symbolic linkfunctionality
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 23 Feb 2001 15:40:07 -0500
- CC: John Paulson <munch at powertv dot com>
- References: <5.0.2.1.0.20010223120510.02408cf0@mailhost> <3A96C959.ADC04E3@yahoo.com>
- Reply-To: cygwin at sources dot redhat dot com
Earnie Boyd wrote:
>
> John Paulson wrote:
> >
> > I like the proposal to unify Windows and Cygwin symlinks. However, one
> > minor problem can occur: under *nix I can have files with the extension
> > .lnk, with no special semantics associated with it. I can tar up a directory
> > containing .lnk files on my *nix box and untar them on my cygwin box. What
> > happens to those files with the .lnk extension? I think this will be another
> > bit of Windows-vs-the-world festivity (as occurred with one source tarball
> > recently which had a directory named "AUX").
> >
> > Even with that potential hassle, unification is the correct choice.
> >
>
> Just for kicks, after reading this post, I did `touch foo.lnk' and have
> a circular reference to foo.lnk. The directory listing actually shows
> the filename as foo.lnk.
>
> I then decided to `cat << EOF > abc.lnk' and actually put data in the
> file. This time the listing doesn't show a circular reference and cat
> abc.lnk gives me the contents of the file.
>
I then said, "Hmm... What'll happen if I `ln -s foo.lnk bar.lnk'?" So
I, did just that and the listing show bar -> foo.lnk. I was hoping to
see bar.lnk in the listing. Both `cat bar' and `cat bar.lnk' give the
contents of foo.lnk.
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple