From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5759 invoked by alias); 16 May 2008 19:29:10 -0000 Received: (qmail 5743 invoked by uid 22791); 16 May 2008 19:29:08 -0000 X-Spam-Check-By: sourceware.org Received: from webmail-outgoing.us4.outblaze.com (HELO webmail-outgoing.us4.outblaze.com) (205.158.62.67) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 May 2008 19:28:43 +0000 Received: from wfilter.us4.outblaze.com.int (wfilter.us4.outblaze.com.int [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 468E01800D56 for ; Fri, 16 May 2008 19:28:40 +0000 (GMT) X-OB-Received: from unknown (205.158.62.49) by wfilter.us4.outblaze.com; 16 May 2008 19:28:40 -0000 Received: by ws1-1.us4.outblaze.com (Postfix, from userid 1001) id 1C1061BF28D; Fri, 16 May 2008 19:28:40 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "vapid vapid" To: cygwin@cygwin.com Date: Fri, 16 May 2008 19:44:00 -0000 Subject: links broken during a backup (not restore), need more info on how they work to fix & file bug with vendor Received: from [161.88.255.139] by ws1-1.us4.outblaze.com with http for vapid@mindless.com; Fri, 16 May 2008 14:28:40 -0500 Message-Id: <20080516192840.1C1061BF28D@ws1-1.us4.outblaze.com> Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-05/txt/msg00332.txt.bz2 Hi, I believe my backup program (CMS ABS Bounceback) is mucking with the links = in my cygwin and work directories when it is creating a backup. It doesn't= appear to affect links created by windows, only those created by cygwin. = I don't fully understand the cygwin links: there are some that end in .lnk = and are close to windows shortcuts, and there are others that don't end in = .lnk and start with !. Both get broken. The files still exist, b= ut I get the message "/usr/bin/vi: /usr/bin/vi: cannot execute binary file"= . vi looks like a plain file and contains "!vim.exe". Running vi= m works fine. It happened to me a few weeks ago and wasn't sure why. I re-installed cygw= in & fixed all the shortcuts in my working/compiled src directories by dele= ting and recreating them. Is there an easier way to fix this? I found one= post in the archives saying try "attrib +R", but that didn't help at all, = on either kind of link. I've searched the mailing lists and google and wasn't able to find any help= for my problem. I know people here will say it's a problem with the appl= ication, but if I go to the manufacturer they'll say cyg-what(?), our softw= are works fine with windows. Some sample links in /bin, commands executed under cygwin on windows xp. $ ls -la vi ksh.exe.* -rwx------+ 1 usd11620 memememe 319 Apr 18 10:24 ksh.exe.lnk -rwx------+ 1 usd11620 Users 18 Apr 18 08:12 vi $ attrib ksh.exe.*=20=20=20 C:\cygwin\bin\ksh.exe.lnk $ attrib vi=20=20=20=20=20=20=20 C:\cygwin\bin\vi $ cat vi=20 !vim.exe $ ksh bash: ksh: command not found $ ksh.exe.lnk /usr/bin/ksh.exe.lnk: /usr/bin/ksh.exe.lnk: cannot execute binary file $ cat /usr/bin/ksh.exe.lnk | tr -c "[:print:]" .=20 L..................F.......................................................= ......P.O. .:i.....+00.../C:\...................:.1......8D5..cygwin..$....= ....8.-.8......c.y.g.w.i.n.....0.1......8....bin..........8...8......b.i.n.= ....B.2.....x/n. .pdksh.exe.*........8...8......p.d.k.s.h...e.x.e.........p= dksh.exe..pdksh.exe $ cygcheck -s=20 .... Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 .... 1829k 2008/04/17 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.5.25 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 156 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix:=20 Build date: Thu Apr 17 12:11:03 CEST 2008 CVS tag: cr-0x5f1 Shared id: cygwin1S4 --=20 See Exclusive Video: 10th Annual Young Hollywood Awards http://www.hollywoodlife.net/younghollywoodawards2008/ -- 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/