www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/27/14:09:36

X-Recipient: archive-cygwin AT delorie DOT 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 DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Files in /usr/bin
References: <0105D5C1E0353146B1B222348B0411A29A674E75 AT NIHMLBX02 DOT nih DOT gov>
In-Reply-To: <0105D5C1E0353146B1B222348B0411A29A674E75@NIHMLBX02.nih.gov>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019