delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/09/19:31:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Originating-IP: [203.12.97.91]
X-Originating-Email: [dcoshea AT hotmail DOT com]
From: "David O'Shea" <dcoshea AT hotmail DOT com>
To: "Cygwin List" <cygwin AT cygwin DOT com>
References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20030907223418 DOT 024d2e48 AT 127 DOT 0 DOT 0 DOT 1>
Subject: Re: Cygwin doesn't show .. in all directories
Date: Wed, 10 Sep 2003 09:31:23 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <LAW14-OE74JroEI4pJD0002e5be@hotmail.com>
X-OriginalArrivalTime: 09 Sep 2003 23:31:25.0113 (UTC) FILETIME=[7C1D4290:01C3772A]

Hi Larry,

Yes, that's exactly the problem I was reporting (with FAT32 in my
case).  I managed to get a 'cygwin-snapshot' to build so I guess
that's the first step in developing a fix.  Now comes the hard part,
figuring out how to fix the problem!

If/when I have diffs can I just post them to this mailing list?

Regards,
David

----- Original Message ----- 
From: "Larry Hall" <cygwin-lh AT cygwin DOT com>
To: "David O'Shea" <dcoshea AT hotmail DOT com>; <cygwin AT cygwin DOT com>
Sent: Monday, September 08, 2003 12:43 PM
Subject: Re: Cygwin doesn't show .. in all directories


> I don't see it when I just mount to a directory (i.e. "ls -al
/usr/bin"
> shows "." and "..").  I do see it if I mount a drive and then
"ls -al"
> the newly mounted directory, regardless of the format (well NTFS or
FAT,
> don't know about FAT32).  Looks to me like the problem occurs if the
> Win32 path contains the drive specification.  But that's just the
result
> of some quick checking.
>
>
> HTH,
>
> Larry
>
> At 10:28 PM 9/7/2003, David O'Shea you wrote:
> >Hi all,
> >
> >I didn't see a response to this query.  Can someone at least
confirm
> >that this appears to be a valid bug (just mount some directories
and
> >take a look I guess!)?  Once that happens I can look at how to fix
it.
> >I had a quick look at the code a month ago and thought it would
> >probably be hard to fix but I guess a challenge would be good :)
> >
> >Regards,
> >David
> >
> >----- Original Message ----- 
> >From: "David O'Shea" <dcoshea AT hotmail DOT com>
> >To: <cygwin AT cygwin DOT com>
> >Sent: Sunday, August 10, 2003 5:26 PM
> >Subject: Cygwin doesn't show .. in all directories
> >
> >
> >> Hi all,
> >>
> >> Apologies if this is old news, but I couldn't find mention of it
in
> >> the FAQ or mailing list archives.
> >>
> >> I have my F: mounted at /backup under Cygwin.  When I 'ls -al
> >/backup'
> >> there is no '.' or '..' entry in /backup, I guess because they
are
> >not
> >> there physically and hence not reported by Windows (FAT
filesystems
> >> never have a '.' or '..' in the root directory as far as I know).
> >On
> >> Linux, every directory, including the root directory '/', has a
'.'
> >> and '..' entry, so I guess for consistency they ought to be
there.
> >>
> >> This is an issue for me because in MToolsFM, which allows you to
> >> graphically browse your directories (plus browse directories via
> >> 'mtools'), you go up a directory by double-clicking on a '..'
entry
> >in
> >> the list of directory contents.  I imagine that if MToolsFM was
> >hacked
> >> to show a '..' entry even if it didn't see one in the filesystem,
> >> things would work, since 'cd ..' works fine when I am in the
/backup
> >> directory (I guess Cygwin doesn't actually look for the directory
> >> entry '..', it just goes up a directory).
> >>
> >> Of course I don't know if it might be the case that applications
> >> shouldn't assume that all *nix-ish platforms have a directory
entry
> >> pointing to the parent directory.  Either way, please let me
know!
> >>
> >> Thanks in advance,
> >> David
> >>
> >
> >--
> >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/
>
>

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