From owner-freebsd-current Fri Sep 21 8:25:27 2001 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id E147937B41E for ; Fri, 21 Sep 2001 08:25:24 -0700 (PDT) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id f8LFPHB26652; Fri, 21 Sep 2001 11:25:17 -0400 (EDT) (envelope-from wollman) Date: Fri, 21 Sep 2001 11:25:17 -0400 (EDT) From: Garrett Wollman Message-Id: <200109211525.f8LFPHB26652@khavrinen.lcs.mit.edu> To: Peter Wemm Cc: freebsd-current@FreeBSD.ORG Subject: Re: kldxref broken, maybe? In-Reply-To: <20010921051922.7B3A938FF@overcee.netplex.com.au> References: <200109210320.f8L3KJ713643@harmony.village.org> <20010921051922.7B3A938FF@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > foreach $path (`sysctl -n kern.module_path | sed -e 's/;/ /`) > if (-d $path) > kldxref $path > endif > endfor module_path=$(sysctl -n kern.module_path) OIFS="$IFS"; IFS=";" set ${module_path} IFS="$OIFS" for directory; do [ -d ${directory} ] && kldxref ${directory} done -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message