Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <392AD8CC.63B2436E@dothill.com> Date: Tue, 23 May 2000 15:15:24 -0400 From: Jason Tishler Organization: Dot Hill Systems Corporation X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: CygUtils Version of zip (and Symlinks) References: <392ACD0A DOT D946A741 AT dothill DOT com> <20000523143422 DOT A22579 AT cygnus DOT 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 "!" 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 DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com