Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Re: [SLE] find (and locate)
  • From: Martin Deppe <Martin.Deppe@xxxxxx>
  • Date: Sun, 06 Mar 2005 21:48:56 +0100
  • Message-id: <422B6CB8.4060306@xxxxxx>
Carlos E. R. wrote:

The Sunday 2005-03-06 at 14:34 +0100, Martin Deppe wrote:

Beside the fact (as you write) that it isn't a real solution and not
applicable in case of a search over more than one filesystem, indeed, that:

find . -xdev -follow -name TJ1961_02.pdf -ls

DOES find what it is supposed to, in this case.

I'm curious to know if '! -fstype subfs' works as well. It should work over more than one filesystem, excepting subfs.

Interesting question! You made me curious too! But the following command:

find . ! -fstype subfs -follow -name TJ1961_02.pdf -ls

doesn't and this one:

find . -follow ! -fstype subfs -name TJ1961_02.pdf -ls

neither (if there is any difference at all).

Ok, I have a guess now - a thesis: when the warning "find: . changed during execution of find" occurs, "find" "says" that it had an error, which caused it not to fully complete its search! How about that? It simply stopped searching before the very end.

Best wishes

< Previous Next >