From: | "Albert W. Hopkins" <marduk@×××××××××××.org> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] "pstree" for modules ? | ||
Date: | Wed, 28 Sep 2011 14:18:53 | ||
Message-Id: | 1317219425.469507.4.camel@localhost.localdomain | ||
In Reply to: | Re: [gentoo-user] "pstree" for modules ? by Willie Wong |
1 | On Wed, 2011-09-28 at 06:41 -0400, Willie Wong wrote: |
2 | > On Wed, Sep 28, 2011 at 09:42:09AM +0200, Florian Philipp wrote: |
3 | > > You could still create a tree, but only by making most modules appear |
4 | > > multiple times. |
5 | > |
6 | > Just like the '--tree' option for 'emerge' |
7 | |
8 | |
9 | In that case something like: |
10 | |
11 | # for m in `lsmod |awk '{print $1}'; do echo $m; modprobe \ |
12 | --show-depends $m|sed s'/^insmod \/.*\// `-/;s/\.ko//'; done |