Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <392AD8CC.63B2436E@dothill.com>
Date: Tue, 23 May 2000 15:15:24 -0400
From: Jason Tishler <Jason.Tishler@dothill.com>
Organization: Dot Hill Systems Corporation
X-Mailer: Mozilla 4.72 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@sourceware.cygnus.com
Subject: Re: CygUtils Version of zip (and Symlinks)
References: <392ACD0A.D946A741@dothill.com> <20000523143422.A22579@cygnus.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Chris,

Chris Faylor wrote:
> If I am understanding what you're saying correctly, you are essentially
> trying to break cygwin's encapsulation of symlinks.  There is no
> guarantee that a symlink will always begin with "!<symlink>" or
> even that the contents will contain any kind of magic denoting a symlink.

That is why I called it a "very nasty hack."  I'm try to elicit the
proper way to read the (raw) contents of a Cygwin symlink file -- if
one exists.  Sounds like one doesn't.

> I am not sure why you aren't just using the same mechanism that something
> like tar uses to read and restore symlinks.

I'm not a zip expert (and trying not to become one) but the Cygwin
version of zip creates the archive as if it was produced by a native
Win32 zip.  Hence, I don't believe that there is a way to indicate that
a file is a symlink.

Beside, then one would have to extract using (the correspondingly
patched version of) unzip and could not use programs like WinZip.
Like I mentioned before, I feel that the bootstrapping potential is
very compelling.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

