X-Spam-Check-By: sourceware.org
Date: Sat, 5 Aug 2006 20:12:03 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygwin, Coda and symbolic links
Message-ID: <20060806001203.GF3109@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <44D27B36.1090400@andrew.cmu.edu> <20060804090559.GD8152@calimero.vinschen.de> <44D3963B.6090107@andrew.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <44D3963B.6090107@andrew.cmu.edu>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Fri, Aug 04, 2006 at 02:47:23PM -0400, Adam Wolbach wrote:
>>http://www.google.com/search?as_q=windows+shortcut+file+format
>>
>>The first match
>>
>>http://mediasrv.ns.ac.yu/extra/fileformat/windows/lnk/shortcut.pdf
>>
>>is what you're looking for and what I used when implementing the
>>shortcut stuff.
>>
>
>Thanks, this gets me more than halfway to what I need to know -- the 
>missing piece is how these fields need to be filled out to appear as a 
>symbolic link to cygwin. Worst case I can just hunt through the cygwin 
>source, but if you happen to know or have notes lying around somewhere, 
>it might be useful to more than just us to post them somewhere. Thanks 
>again.

Is there some reason why you aren't just using cygwin's symlink()
function?  Reverse engineering and mimicking cygwin's symlinks seems to
be a pretty fragile way of writing an application which will play nicely
with cygwin.  What if we change the way symlinks are written at some
point?

cgf

--
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/

