delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/09/11:38:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A5B3E4D.3F507779@dddandr.octacon.co.uk>
Date: Tue, 09 Jan 2001 16:37:33 +0000
From: Don Sharp <Don DOT Sharp AT dddandr DOT octacon DOT co DOT uk>
Reply-To: dwsharp AT iee DOT org
X-Mailer: Mozilla 4.74 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: gnuwin32 <cygwin AT sources DOT redhat DOT com>
Subject: Re: find date fault

Don Sharp wrote:
> 
> Dear Philip,
>         It will be worthwhile to reiterate that /dosd is a real directory on
> which is mounted the root of a FAT partition. ls -F /dosd gives
> 
> $ ls -F dosd
> DCOLON/       ffastun.ffl   ffastun0.ffx  recycled/     users/
> ffastun.ffa   ffastun.ffo   mpsdata/      temp/
> 
> Notice no logical links. Now the surprise
> 
> find dosd -follow -type f -mtime -15 -print
> 
> WORKS!!!
> 
> BTW I would like to forward our communication to cygwin, if you are
> agreeable. Forward it yourself if you prefer.
> 
> Thanks very much
> 
> Don Sharp
> 
> Philip Sainty wrote:
> >
> > Hi Don,
> >
> > > > > cd dosd
> > > > > find * -type f -mtime -15 -print
> > > > >
> > > > > the expected results are obtained.
> > > > >
> > > > >  It would seem that find is not always descending the directories
> > under
> > > > > a mount point.
> > > >
> > > > Ahhh, it (dosd) is a mounted dir?
> > >
> > > Yes, I think that is provoking the error (sometimes). My dosc which is
> > > another mounted FAT drive works OK!
> >
> > Are there symlink'd directories involved, by any chance?
> >
> > cygwin's find doesn't treat these as real directories when given in the
> > pathname, and therefore doesn't enter them unless you specify that
> > all symlinks should be followed!
> >
> > If dsoc and dsod are to all intents and purposes identical structures,
> > however, that really sounds weird.
> >
> > See if this affects things:
> > find dsod -follow -type f -mtime -15 -print
> >
> > -Phil

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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