From: Michael Bueker <m.bueker@berlin.de>
To: bridge@lists.osdl.org
Subject: [Bridge] Simple list of tun devices?
Date: Mon, 07 Nov 2005 21:16:28 +0100 [thread overview]
Message-ID: <436FB61C.7030406@berlin.de> (raw)
Hello,
I'm using acustom script to bring up and take down my bridge. For that,
I need to know the bridge devices that are currently active for use in a
bash for-loop.
I reckon that I could grep and sed the output of ifconfig or brctl show,
but that seems very kludgy to me. The tun* devices do not appear in /dev
and neither did a grep in all of /proc return any useful result.
So, is there a simple way to tell which tun devices are up at any moment?
Cheers,
~Mik
--
Was passiert, wenn man einem Therapiepatienten ein asymmetrisches
Mandala zum Ausmalen gibt? Wird er dann erst recht wahnsinnig?
next reply other threads:[~2005-11-07 20:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-07 20:16 Michael Bueker [this message]
2005-11-07 21:17 ` [Bridge] Simple list of tun devices? Stephen Hemminger
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=436FB61C.7030406@berlin.de \
--to=m.bueker@berlin.de \
--cc=bridge@lists.osdl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.