From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f43.google.com ([74.125.82.43]:61350 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752247Ab3FJNUL (ORCPT ); Mon, 10 Jun 2013 09:20:11 -0400 Received: by mail-wg0-f43.google.com with SMTP id x12so4889781wgg.10 for ; Mon, 10 Jun 2013 06:20:10 -0700 (PDT) Message-ID: <51B5D288.40605@gmail.com> Date: Mon, 10 Jun 2013 15:20:08 +0200 From: Gabriel de Perthuis MIME-Version: 1.0 Subject: Re: [PATCH] deb-pkg: Don't run find across mountpoints References: <51B4A9D1.7070502@gmail.com> <51B5CFAC.6050704@suse.cz> <51B5D180.5080509@gmail.com> In-Reply-To: <51B5D180.5080509@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Michal Marek Cc: linux-kbuild@vger.kernel.org Le 10/06/2013 15:15, Gabriel de Perthuis a écrit : > Le lun. 10 juin 2013 15:07:56 CEST, Michal Marek a écrit : >> What kind of mountpoint zoo do you maintain in your build tree? :) We >> run a find in make clean, make mrproper and other targets. So you might >> need to fix more places. But please explain your use case. > > I happened to be running a fuse thing (git fs, mounted under .git/fs); > recursing that can take a *long* time. > > `find .` is the only one that actually runs into trouble, although it > might be good if -xdev could be the default (through a shell > function maybe?). Or it would be even better if the scripts used `git ls-files`, if it seems a reasonable requirement to have the kernel build from git.