From owner-freebsd-current Fri Feb 23 23: 4:57 2001 Delivered-To: freebsd-current@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 74F8937B401 for ; Fri, 23 Feb 2001 23:04:54 -0800 (PST) (envelope-from dima@unixfreak.org) Received: from hornet.unixfreak.org (hornet [63.198.170.140]) by bazooka.unixfreak.org (Postfix) with ESMTP id 975C33E02; Fri, 23 Feb 2001 23:04:54 -0800 (PST) To: Matthew Thyer Cc: current@FreeBSD.org Subject: Re: find / -fstype local traverses non-local filesystems In-Reply-To: Message from Matthew Thyer of "Sat, 24 Feb 2001 17:04:44 +1030." <3A975604.30F12BBB@camtech.net.au> Date: Fri, 23 Feb 2001 23:04:54 -0800 From: Dima Dorfman Message-Id: <20010224070454.975C33E02@bazooka.unixfreak.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > The problem is that the find took forever and the disk on host > new was thrashing away most of the time. > > find seems to be traversing all file systems (local and non-local) > but just not reporting the found file when its on a non-local > filesystem. See PR bin/23906. In short, the solution is to use: find . \( -fstype local -o -prune \) -print (obviously you should still put in the directives for what you want to find) Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message