This is the mail archive of the
mailing list for the Cygwin project.
Re: possible for win32 links to work as cygwin links?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: 'Cygwin List' <cygwin at cygwin dot com>
- Date: Tue, 25 Jan 2005 21:09:03 +0100
- Subject: Re: possible for win32 links to work as cygwin links?
- References: <41F6A197.email@example.com>
- Reply-to: cygwin at cygwin dot com
On Jan 25 11:44, linda w wrote:
> Forgive me if this has been covered somewhere, but I was
> wondering if a setting could be added in CYGWIN, to process
> "windows links" [.lnk] files as "cygwin" links. Is this
No, it's not.
> It sure would be handy to have the linux utils like find
> and readlink to work on win-links and run cleanup jobs on
> one's system to search for "stale" link.
> It is very useful to have cygwin links work in the 'win32 env,
> it would be equally useful to have an option to have win32 links
> work in cygwin [if it is doable and not too much bother...].
It is partly doable and the first implementation in Cygwin even did that.
But it results in a problem. Windows shortcuts may contain a couple of
extra information which just have nothing to do with the pure path
information. If these shortcuts are treated like symlinks, it becomes
impossible to make backups of Windows shortcuts using Cygwin tools like
tar. Today, tar treats Windows shortcuts as normal files. If tar just
can see the symlink part, the extracted shortcut wouldn't be very similar
to what has been archived.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html