delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/16/12:16:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AB10EE7.6030907@cygwin.com>
Date: Wed, 16 Sep 2009 12:14:31 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] recursive /cygdrive problem
References: <4AB1031D DOT 1050802 AT shaddybaddah DOT name> <4AB10645 DOT 9040401 AT cygwin DOT com> <4AB10A7F DOT 2090404 AT shaddybaddah DOT name>
In-Reply-To: <4AB10A7F.2090404@shaddybaddah.name>
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

On 09/16/2009 11:55 AM, Shaddy Baddah wrote:
> Respectfully, I think you've misunderstood my problem. I've just
> posted a followup which will show an out and out inconsistency (well,
> at least in my opinion):
>
> Shaddy AT x-vista ~
> $ ls /cygdrive/c/software/cygwin/cygdrive
>
> Shaddy AT x-vista ~
> $ cd /cygdrive/c/software/cygwin/
>
> Shaddy AT x-vista /cygdrive/c/software/cygwin
> $ ls ./cygdrive
> c  d  e
>
> Shaddy AT x-vista /cygdrive/c/software/cygwin
> $
>
> IMO, the result of the first ls is the more logical. It at least is
> consistent with 1.5 if anything else (not that this is a strong
> argument).

Yes, this message (and the one you sent about the time I sent my first reply)
clarify the issue, at least for me.  I can reproduce it, though I haven't 
looked
into it more.  I can say I tried testing 'du' to see if I could see 
recursion and,
somewhat surprisingly (to me), I didn't.  To me however, if we're looking for
consistency, I would say that the results of both invocations of 'ls' above 
should
show the list of drives.

FWIW, I think you'll find Cygwin 1.5 behaves the same if you create a 'cygdrive'
(or whatever your cygdrive prefix is called) directory in your '/'.  I may 
be wrong
though.  I haven't tried this.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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