Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Subject: Re: find date fault Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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