From owner-freebsd-current@FreeBSD.ORG Wed Sep 23 13:03:22 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 955D01065676 for ; Wed, 23 Sep 2009 13:03:22 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id DB0368FC18 for ; Wed, 23 Sep 2009 13:03:21 +0000 (UTC) Received: (qmail invoked by alias); 23 Sep 2009 13:03:20 -0000 Received: from 85-127-91-100.dynamic.xdsl-line.inode.at (EHLO taxman.pepperland) [85.127.91.100] by mail.gmx.net (mp008) with SMTP; 23 Sep 2009 15:03:20 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1/RV044V//RHypcLfCDoHbuBnz0r79dW5rsT0LNtB vpdfuO4SB7XAIq From: Stefan Ehmann To: Andriy Gapon Date: Wed, 23 Sep 2009 15:03:17 +0200 User-Agent: KMail/1.12.1 (FreeBSD/8.0-BETA4; KDE/4.3.1; i386; ; ) References: <654636.94077.qm@web63908.mail.re1.yahoo.com> <200909222244.23901.shoesoft@gmx.net> <4ABA0DC5.6070502@icyb.net.ua> In-Reply-To: <4ABA0DC5.6070502@icyb.net.ua> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200909231503.17836.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.61 Cc: Barney Cordoba , freebsd-current@freebsd.org, pluknet Subject: Re: where is device_get_parent function defined X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2009 13:03:22 -0000 On Wednesday 23 September 2009 14:00:05 Andriy Gapon wrote: > on 22/09/2009 23:44 Stefan Ehmann said the following: > > On Tuesday 22 September 2009 16:21:54 Barney Cordoba wrote: ... > >> Except for the 50K recursive warnings from the module build directories > >> you're correct. > > > > In that case, I normally use: > > find /usr/src/ -type f | xargs grep ^device_get_parent > > > > Additionally specifying -name '*.c' should even be faster. > > I am surprised with this whole 'recursive' issue because in a clean source > tree there are no recursive symlinks. They only come to be if a developer > forgets to run 'make obj' before doing 'make' in modules directories. > I think that it is a good practice to never pollute the source tree with > build objects, they should belong to /usr/obj or equivalent. Ok, that explains it in my case. To reduce build times/space requirements, I only build a small subset of modules when building the kernel. If I need an additional module, I simply run "make install" or "make load" in the respective module directory.