X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 	tests=AWL,BAYES_20,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49A83C86.4040401@gmail.com>
Date: Fri, 27 Feb 2009 19:18:30 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Files in /usr/bin
References: <0105D5C1E0353146B1B222348B0411A29A674E75@NIHMLBX02.nih.gov>
In-Reply-To: <0105D5C1E0353146B1B222348B0411A29A674E75@NIHMLBX02.nih.gov>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Buchbinder, Barry (NIH/NIAID) [E] wrote:
> As I understand it, </usr/bin> is mounted on </bin>; everything should be
> in </cygdrive/c/cygwin/bin> and nothing in </cygdrive/c/cygwin/usr/bin>.

  Yes, spot on.

> I then looked at everything that was in both </cygdrive/c/cygwin/usr/bin>
> and </cygdrive/c/cygwin/bin>. - 'ls' showed that everything had identical
> timestamps and permissions. - 'cmp' showed that everything were identical.

> I'd really rather have only one copy of each file.  So my main questions
> are: - Is it is safe for me to delete the duplicated files from </usr/bin>
> and move the unique files from </usr/bin> to </bin>? - Is there something
> else that I should do?

  Yep.  Make sure and use cmd.exe or windows explorer to do it, don't use bash
out of habit!

> Questions for my education (meaning no answer is expect): - Is this normal
> or common?

  Not normal or common but not unheard-of either.

> - How does/might the duplication happen?

  No idea.  The only time anything like it ever happened to me (out of dozens
of cygwin installations), it was just a handful of files.

>- Would emptying
> </cygdrive/c/cygwin/usr/bin> and reinstalling everything work?  (I'd do the
> experiment but I'm reluctant.)

  Likewise :)

    cheers,
      DaveK

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

