public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Albert W. Hopkins" <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] "pstree" for modules ?
Date: Wed, 28 Sep 2011 10:17:05 -0400	[thread overview]
Message-ID: <1317219425.469507.4.camel@localhost.localdomain> (raw)
In-Reply-To: <20110928104106.GA20730@math.princeton.edu>

On Wed, 2011-09-28 at 06:41 -0400, Willie Wong wrote:
> On Wed, Sep 28, 2011 at 09:42:09AM +0200, Florian Philipp wrote:
> > You could still create a tree, but only by making most modules appear
> > multiple times.
> 
> Just like the '--tree' option for 'emerge'


In that case something like:

        # for m in `lsmod |awk '{print $1}'; do echo $m; modprobe \
          --show-depends $m|sed s'/^insmod \/.*\//  `-/;s/\.ko//'; done





      reply	other threads:[~2011-09-28 14:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27 18:24 [gentoo-user] "pstree" for modules ? meino.cramer
2011-09-27 19:34 ` Florian Philipp
2011-09-28  3:12   ` meino.cramer
2011-09-28  7:42     ` Florian Philipp
2011-09-28 10:41       ` Willie Wong
2011-09-28 14:17         ` Albert W. Hopkins [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1317219425.469507.4.camel@localhost.localdomain \
    --to=marduk@letterboxes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox