Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 11:25:17 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Peter Wemm <peter@wemm.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: kldxref broken, maybe? 
Message-ID:  <200109211525.f8LFPHB26652@khavrinen.lcs.mit.edu>
In-Reply-To: <20010921051922.7B3A938FF@overcee.netplex.com.au>
References:  <200109210320.f8L3KJ713643@harmony.village.org> <20010921051922.7B3A938FF@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 20 Sep 2001 22:19:22 -0700, Peter Wemm <peter@wemm.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109211525.f8LFPHB26652>